unreal.DMMaterialValueRenderTarget

class unreal.DMMaterialValueRenderTarget(outer: Object | None = None, name: Name | str = 'None')

Bases: DMMaterialValueTexture

Component representing a render target texture value. Manages its own parameter.

C++ Source:

  • Plugin: DynamicMaterial

  • Module: DynamicMaterial

  • File: DMMaterialValueRenderTarget.h

Editor Properties: (see get_editor_property/set_editor_property)

  • cached_parameter_name (Name): [Read-Only]

  • clear_color (LinearColor): [Read-Write]

  • component_dirty (bool): [Read-Only]

  • component_state (DMComponentLifetimeState): [Read-Only]

  • default_value (Texture): [Read-Write]

  • editable_properties (Array[Name]): [Read-Only]

  • expose_parameter (bool): [Read-Only]

  • local (bool): [Read-Only] True: The value is local to the stage it is used in. False: The value is a global value owned directly by the Model.

  • parameter (DMMaterialParameter): [Read-Only] The parameter name used to expose this value in a material. If it isn’t provided, an automatic name will be generated.

  • renderer (DMRenderTargetRenderer): [Read-Write]

  • texture_format (TextureRenderTargetFormat): [Read-Write]

  • texture_size (IntPoint): [Read-Write]

  • type (DMValueType): [Read-Only]

  • value (Texture): [Read-Write]

property clear_color: LinearColor

[Read-Write]

Type:

(LinearColor)

get_clear_color() LinearColor

Get Clear Color

Return type:

LinearColor

get_render_target() TextureRenderTarget2D

Get Render Target

Return type:

TextureRenderTarget2D

get_renderer() DMRenderTargetRenderer

Get Renderer

Return type:

DMRenderTargetRenderer

get_texture_format() TextureRenderTargetFormat

Get Texture Format

Return type:

TextureRenderTargetFormat

get_texture_size() IntPoint

Get Texture Size

Return type:

IntPoint

property renderer: DMRenderTargetRenderer

[Read-Write]

Type:

(DMRenderTargetRenderer)

set_clear_color(clear_color) None

Set Clear Color

Parameters:

clear_color (LinearColor)

set_renderer(renderer) None

Set Renderer

Parameters:

renderer (DMRenderTargetRenderer)

set_texture_format(texture_format) None

Set Texture Format

Parameters:

texture_format (TextureRenderTargetFormat)

set_texture_size(texture_size) None

Set Texture Size

Parameters:

texture_size (IntPoint)

property texture_format: TextureRenderTargetFormat

[Read-Write]

Type:

(TextureRenderTargetFormat)

property texture_size: IntPoint

[Read-Write]

Type:

(IntPoint)