unreal.GeometryScriptChannelPackSource

class unreal.GeometryScriptChannelPackSource(texture: Texture2D = Ellipsis, read_gamma_space: GeometryScriptReadGammaSpace = Ellipsis, channel: GeometryScriptRGBAChannel = Ellipsis, default_value: float = 0.0)

Bases: StructBase

Geometry Script Channel Pack Source

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingEditor

  • File: EditorTextureMapFunctions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • channel (GeometryScriptRGBAChannel): [Read-Write] If Texture is not null, this determines which channel is read/sourced

  • default_value (float): [Read-Write] If Texture is null, this value is read/sourced and the Channel and ReadGammaSpace values are ignored

  • read_gamma_space (GeometryScriptReadGammaSpace): [Read-Write] If Texture is not null, this determines how the color data will be read/sourced

  • texture (Texture2D): [Read-Write] The Texture which should be read/sourced. If null then the DefaultValue is used instead

property channel: GeometryScriptRGBAChannel

[Read-Write] If Texture is not null, this determines which channel is read/sourced

Type:

(GeometryScriptRGBAChannel)

property default_value: float

[Read-Write] If Texture is null, this value is read/sourced and the Channel and ReadGammaSpace values are ignored

Type:

(float)

property read_gamma_space: GeometryScriptReadGammaSpace

[Read-Write] If Texture is not null, this determines how the color data will be read/sourced

Type:

(GeometryScriptReadGammaSpace)

property texture: Texture2D

[Read-Write] The Texture which should be read/sourced. If null then the DefaultValue is used instead

Type:

(Texture2D)