unreal.TG_TextureDescriptor

class unreal.TG_TextureDescriptor(width: Resolution = Ellipsis, height: Resolution = Ellipsis, texture_format: TG_TextureFormat = Ellipsis, is_srgb: bool = False)

Bases: StructBase

TG Texture Descriptor

C++ Source:

  • Plugin: TextureGraph

  • Module: TextureGraph

  • File: TG_Texture.h

Editor Properties: (see get_editor_property/set_editor_property)

  • format (TSBufferFormat): [Read-Write] How many items of type BufferFormat per point deprecated: Use Texture Format instead

  • height (Resolution): [Read-Write] Height of the texture in pixels. Auto means system will detect automatically based on other images

  • is_srgb (bool): [Read-Write]

  • num_channels (TSBufferChannels): [Read-Write] deprecated: Use Texture Format instead

  • texture_format (TG_TextureFormat): [Read-Write] UPROPERTY(EditAnywhere, Category = “TextureDescriptor”, DisplayName = “Texture Format”)

  • width (Resolution): [Read-Write] Width of the texture in pixels. Auto means system will detect automatically based on other images

property format: TSBufferFormat

[Read-Write] How many items of type BufferFormat per point deprecated: Use Texture Format instead

Type:

(TSBufferFormat)

property height: Resolution

[Read-Write] Height of the texture in pixels. Auto means system will detect automatically based on other images

Type:

(Resolution)

property is_srgb: bool

[Read-Write]

Type:

(bool)

property num_channels: TSBufferChannels

[Read-Write] deprecated: Use Texture Format instead

Type:

(TSBufferChannels)

property texture_format: TG_TextureFormat

[Read-Write] UPROPERTY(EditAnywhere, Category = “TextureDescriptor”, DisplayName = “Texture Format”)

Type:

(TG_TextureFormat)

property width: Resolution

[Read-Write] Width of the texture in pixels. Auto means system will detect automatically based on other images

Type:

(Resolution)