unreal.TG_TextureDescriptor¶
- class unreal.TG_TextureDescriptor(width: Resolution = Ellipsis, height: Resolution = Ellipsis, texture_format: TG_TextureFormat = Ellipsis, is_srgb: bool = False)¶
Bases:
StructBaseTG 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 insteadheight(Resolution): [Read-Write] Height of the texture in pixels. Auto means system will detect automatically based on other imagesis_srgb(bool): [Read-Write]num_channels(TSBufferChannels): [Read-Write] deprecated: Use Texture Format insteadtexture_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:
- property height: Resolution¶
[Read-Write] Height of the texture in pixels. Auto means system will detect automatically based on other images
- Type:
- property num_channels: TSBufferChannels¶
[Read-Write] deprecated: Use Texture Format instead
- Type:
- property texture_format: TG_TextureFormat¶
[Read-Write] UPROPERTY(EditAnywhere, Category = “TextureDescriptor”, DisplayName = “Texture Format”)
- Type:
- property width: Resolution¶
[Read-Write] Width of the texture in pixels. Auto means system will detect automatically based on other images
- Type: