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