Class Cloth.FabricAxisSettings
Cloth's fabric settings (material's stiffness and compression response) for a single axis.
Inheritance
System.Object
Cloth.FabricAxisSettings
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class FabricAxisSettings : ValueType
Fields
CompressionLimit
Compression limit for constraints.
Declaration
[Limit(0F, 3.40282347E+38F, 1F)]
public float CompressionLimit
Field Value
System.Single
|
Stiffness
Stiffness value for stretch and compression constraints. 0: disables it.
Declaration
[Limit(0F, 3.40282347E+38F, 1F)]
public float Stiffness
Field Value
System.Single
|
StiffnessMultiplier
Scale value for stretch and compression constraints. 0: no stretch and compression constraints applied. 1: fully apply stretch and compression constraints.
Declaration
[Limit(0F, 1F, 1F)]
public float StiffnessMultiplier
Field Value
System.Single
|
StretchLimit
Stretch limit for constraints.
Declaration
[Limit(0F, 3.40282347E+38F, 1F)]
public float StretchLimit
Field Value
System.Single
|
Properties
Default
The default Cloth.FabricAxisSettings.
Declaration
public static Cloth.FabricAxisSettings Default { get; }
Property Value
Cloth.FabricAxisSettings
|