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 contributiondebug_simulation
(bool): [Read-Write] Debug Simulation: Boolean to make the simulation strands visiblelinear_velocity_scale
(float): [Read-Write] Linear Velocity Scale: Scaling of the bone world linear velocity contributionlocal_bone
(str): [Read-Write] Local Bone: Bone used for the simulation local spacelocal_simulation
(bool): [Read-Write] Local Simulation: Strands simulation is done in local spacereset_simulation
(bool): [Read-Write] Reset Simulation: Boolean to control if we want to reset trhe simulation at some point in timeteleport_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_simulation¶
[Read-Write] Local Simulation: Strands simulation is done in local space
- Type
(bool)