Navigation
API > API/Plugins > API/Plugins/DynamicMaterial > API/Plugins/DynamicMaterial/Components > API/Plugins/DynamicMaterial/Components/MaterialValues
Inheritance Hierarchy
- UObject
- FNotifyHook
- UDMMaterialComponent
- UDMMaterialLinkedComponent
- UDMMaterialValue
- UDMMaterialValueTexture
- UDMMaterialValueRenderTarget
References
| Module | DynamicMaterial |
| Header | /Engine/Plugins/Experimental/DynamicMaterial/Source/DynamicMaterial/Public/Components/MaterialValues/DMMaterialValueRenderTarget.h |
| Include | #include "Components/MaterialValues/DMMaterialValueRenderTarget.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup="Material Designer")
class UDMMaterialValueRenderTarget : public UDMMaterialValueTexture
Remarks
Component representing a render target texture value. Manages its own parameter.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FDelegateHandle | EndOfFrameDelegateHandle | Used to asynchronously update the render target. | |
| meta |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | |||
| void | EnsureRenderTarget
(
bool bInAsync |
Allows outside objects to ensure our render target is valid. | |
| void | Will trigger the end of frame update if it is currently queued or is invalid | ||
| const FLinearColor & | |||
| UDMRenderTargetRenderer * | GetRenderer () |
||
| UTextureRenderTarget2D * | |||
| ETextureRenderTargetFormat | |||
| const FIntPoint & | |||
| void | SetClearColor
(
const FLinearColor& InClearColor |
||
| void | SetRenderer
(
UDMRenderTargetRenderer* InRenderer |
||
| void | SetTextureFormat
(
ETextureRenderTargetFormat InTextureFormat |
||
| void | SetTextureSize
(
const FIntPoint& InTextureSize |
||
| void |
Overridden from UDMMaterialValueTexture
| Type | Name | Description | |
|---|---|---|---|
| UDMMaterialValueDynamic * | ToDynamic
(
UDynamicMaterialModelDynamic* InMaterialModelDynamic |
Overridden from UDMMaterialValue
| Type | Name | Description | |
|---|---|---|---|
| bool | Render target is handled internally. | ||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& InPropertyChangedEvent |
Overridden from UDMMaterialComponent
| Type | Name | Description | |
|---|---|---|---|
| FText | Returns a description of this class/object. | ||
| FString | Returns the part of the component representing just this object | ||
| UDMMaterialComponent * | GetSubComponentByPath
(
FDMComponentPath& InPath, |
Searches the component for a specific component based on a path. | |
| void | Called when a component enters the Added state. | ||
| void | Called when a component enters the Removed state. | ||
| void | PostEditorDuplicate
(
UDynamicMaterialModel* InMaterialModel, |
Sets the parent component to the InParent parameter. | |
| void | PostLoad () |
||
| void | Update
(
UDMMaterialComponent* InSource, |
Event that is triggered when this component, or a sub-component, changes to trigger other updates in the model. |
Overridden from IDMJsonSerializable
| Type | Name | Description | |
|---|---|---|---|
| bool | JsonDeserialize
(
const TSharedPtr< FJsonValue >& InJsonValue |
||
| TSharedPtr< FJsonValue > | Non-editor implementation. |
Constants
| Name | Description |
|---|---|
| RendererPathToken |