unreal.HairSimulationSetup

class unreal.HairSimulationSetup(reset_simulation=False, debug_simulation=False, local_simulation=True, linear_velocity_scale=0.0, angular_velocity_scale=0.0, local_bone='root', teleport_distance=50.0)

Bases: unreal.StructBase

Hair Simulation Setup

C++ Source:

  • Plugin: HairStrands

  • Module: HairStrandsCore

  • File: GroomAssetPhysics.h

Editor Properties: (see get_editor_property/set_editor_property)

  • angular_velocity_scale (float): [Read-Write] Angular Velocity Scale: Scaling of the bone world angular velocity contribution

  • debug_simulation (bool): [Read-Write] Debug Simulation: Boolean to make the simulation strands visible

  • linear_velocity_scale (float): [Read-Write] Linear Velocity Scale: Scaling of the bone world linear velocity contribution

  • local_bone (str): [Read-Write] Local Bone: Bone used for the simulation local space

  • local_simulation (bool): [Read-Write] Local Simulation: Strands simulation is done in local space

  • reset_simulation (bool): [Read-Write] Reset Simulation: Boolean to control if we want to reset trhe simulation at some point in time

  • teleport_distance (float): [Read-Write] Teleport Distance: Teleport distance threshold to reset the simulation

property angular_velocity_scale

[Read-Write] Angular Velocity Scale: Scaling of the bone world angular velocity contribution

Type

(float)

property debug_simulation

[Read-Write] Debug Simulation: Boolean to make the simulation strands visible

Type

(bool)

property linear_velocity_scale

[Read-Write] Linear Velocity Scale: Scaling of the bone world linear velocity contribution

Type

(float)

property local_bone

[Read-Write] Local Bone: Bone used for the simulation local space

Type

(str)

property local_simulation

[Read-Write] Local Simulation: Strands simulation is done in local space

Type

(bool)

property reset_simulation

[Read-Write] Reset Simulation: Boolean to control if we want to reset trhe simulation at some point in time

Type

(bool)

property teleport_distance

[Read-Write] Teleport Distance: Teleport distance threshold to reset the simulation

Type

(float)