unreal.HairCardGen_GroomData

class unreal.HairCardGen_GroomData(basis_type: str = '', curve_type: str = '', strands: None = [], vertex_positions: None = [], vertex_widths: None = [], hairline_group_id: int = 0)

Bases: StructBase

With “Guide” data stipped out (since it isn’t used as part of the mesh generation algorithm)

C++ Source:

  • Plugin: HairCardGenerator

  • Module: HairCardGeneratorEditor

  • File: HairCardGenControllerBase.h

Editor Properties: (see get_editor_property/set_editor_property)

  • basis_type (str): [Read-Only]

  • curve_type (str): [Read-Only]

  • hairline_group_id (int32): [Read-Only]

  • strands (Array[HairCardGen_StrandData]): [Read-Only] Array of index buffers. Each buffer defines a distinct hair strand in the groom.

  • vertex_positions (Array[float]): [Read-Only] Flattened Array of 3D vetex positions

  • vertex_widths (Array[float]): [Read-Only]

property basis_type: str

[Read-Only]

Type:

(str)

property curve_type: str

[Read-Only]

Type:

(str)

property hairline_group_id: int

[Read-Only]

Type:

(int32)

property strands: None

[Read-Only] Array of index buffers. Each buffer defines a distinct hair strand in the groom.

Type:

(Array[HairCardGen_StrandData])

property vertex_positions: None

[Read-Only] Flattened Array of 3D vetex positions

Type:

(Array[float])

property vertex_widths: None

[Read-Only]

Type:

(Array[float])