unreal.PCGMeshAttribute

class unreal.PCGMeshAttribute

Bases: EnumBase

Mesh attribute to bake into the output texture. Mirrors PCGUnwrapMesh::EMeshAttribute.

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGMeshAttribute.h

LOCAL_POSITION: PCGMeshAttribute = Ellipsis

RGB = local-space vertex position interpolated to the texel; alpha = 1 marks “covered”.

Type:

0

MASK: PCGMeshAttribute = Ellipsis

Coverage mask. Writes 1 on every channel so the mask is readable from any RT format (R8, R16F, RGBA, …).

Type:

1