unreal.HairSimulationSetup
¶
- class unreal.HairSimulationSetup(reset_simulation: bool = False, debug_simulation: bool = False, local_simulation: bool = False, linear_velocity_scale: float = 0.0, angular_velocity_scale: float = 0.0, local_bone: str = '', teleport_distance: float = 0.0)¶
Bases:
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] The amount of angular velocities sent to the local groom space from the reference bonedebug_simulation
(bool): [Read-Write] Boolean to make the simulation strands visiblelinear_velocity_scale
(float): [Read-Write] The amount of linear velocities sent to the local groom space from the reference bonelocal_bone
(str): [Read-Write] Bone used for the simulation local spacelocal_simulation
(bool): [Read-Write] Strands simulation is done in local spacereset_simulation
(bool): [Read-Write] Boolean to control if we want to reset trhe simulation at some point in timeteleport_distance
(float): [Read-Write] Teleport distance threshold to reset the simulation
- property angular_velocity_scale: float¶
[Read-Write] The amount of angular velocities sent to the local groom space from the reference bone
- Type:
(float)
- property debug_simulation: bool¶
[Read-Write] Boolean to make the simulation strands visible
- Type:
(bool)
- property linear_velocity_scale: float¶
[Read-Write] The amount of linear velocities sent to the local groom space from the reference bone
- Type:
(float)
- property local_simulation: bool¶
[Read-Write] Strands simulation is done in local space
- Type:
(bool)