unreal.DMMaterialValueRenderTarget¶
- class unreal.DMMaterialValueRenderTarget(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
DMMaterialValueTextureComponent 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:
- get_clear_color() LinearColor¶
Get Clear Color
- Return type:
- get_render_target() TextureRenderTarget2D¶
Get Render Target
- Return type:
- get_renderer() DMRenderTargetRenderer¶
Get Renderer
- Return type:
- get_texture_format() TextureRenderTargetFormat¶
Get Texture Format
- Return type:
- property renderer: DMRenderTargetRenderer¶
[Read-Write]
- Type:
- 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)
- property texture_format: TextureRenderTargetFormat¶
[Read-Write]
- Type: