unreal.HairSimulationSettings

class unreal.HairSimulationSettings(override_settings=False, simulation_setup=[False, False, True, 0.0, 0.0, 'root', 50.0], solver_settings=[False], external_forces=[[0.0, 0.0, - 981.0], 0.1, [0.0, 0.0, 0.0]], material_constraints=[0.001, 0.01, 0.001, 1.0, 0.1, 0.1, 1.0, 0.001])

Bases: unreal.StructBase

Hair Simulation Settings

C++ Source:

  • Plugin: HairStrands

  • Module: HairStrandsCore

  • File: GroomAssetPhysics.h

Editor Properties: (see get_editor_property/set_editor_property)

  • external_forces (HairSimulationForces): [Read-Write] External Forces: External Forces for the hair physics

  • material_constraints (HairSimulationConstraints): [Read-Write] Material Constraints: Material Constraints for the hair physics

  • override_settings (bool): [Read-Write] Override Settings: Boolean to control if we are going to override the groom asset physics settings

  • simulation_setup (HairSimulationSetup): [Read-Write] Simulation Setup: Solver Settings for the hair physics

  • solver_settings (HairSimulationSolver): [Read-Write] Solver Settings: Solver Settings for the hair physics

property external_forces

[Read-Write] External Forces: External Forces for the hair physics

Type

(HairSimulationForces)

property material_constraints

[Read-Write] Material Constraints: Material Constraints for the hair physics

Type

(HairSimulationConstraints)

property override_settings

[Read-Write] Override Settings: Boolean to control if we are going to override the groom asset physics settings

Type

(bool)

property simulation_setup

[Read-Write] Simulation Setup: Solver Settings for the hair physics

Type

(HairSimulationSetup)

property solver_settings

[Read-Write] Solver Settings: Solver Settings for the hair physics

Type

(HairSimulationSolver)