unreal.PCGBakeMeshAttributesParams

class unreal.PCGBakeMeshAttributesParams(resolution: IntPoint = Ellipsis, format: TextureRenderTargetFormat = Ellipsis, attribute: PCGMeshAttribute = Ellipsis, padding: int = 0, uv_channel_index: int = 0)

Bases: StructBase

Settings shared by mesh-attribute bake nodes.

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGMeshAttribute.h

Editor Properties: (see get_editor_property/set_editor_property)

  • attribute (PCGMeshAttribute): [Read-Write] Which per-texel attribute the pixel shader writes.

  • format (TextureRenderTargetFormat): [Read-Write] Output render target pixel format.

  • padding (int32): [Read-Write] Number of texels of edge padding applied to UV islands after the bake. Does not apply to the Mask attribute.

  • resolution (IntPoint): [Read-Write] Output render target resolution in texels.

  • uv_channel_index (int32): [Read-Write] Mesh UV channel to rasterize into the output texture.

property attribute: PCGMeshAttribute

[Read-Write] Which per-texel attribute the pixel shader writes.

Type:

(PCGMeshAttribute)

property format: TextureRenderTargetFormat

[Read-Write] Output render target pixel format.

Type:

(TextureRenderTargetFormat)

property padding: int

[Read-Write] Number of texels of edge padding applied to UV islands after the bake. Does not apply to the Mask attribute.

Type:

(int32)

property resolution: IntPoint

[Read-Write] Output render target resolution in texels.

Type:

(IntPoint)

property uv_channel_index: int

[Read-Write] Mesh UV channel to rasterize into the output texture.

Type:

(int32)