Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetDataflowNodes > API/Plugins/ChaosClothAssetDataflowNodes/ChaosClothAsset > API/Plugins/ChaosClothAssetDataflowNodes/ChaosClothAsset/FChaosClothAsset-_40
Syntax
UPROPERTY (EditAnywhere, Category="PBDBendingElement Properties",
Meta=(UIMin="0", UIMax="1", ClampMin="0", ClampMax="1", EditCondition="RestAngleType == EChaosClothAssetRestAngleConstructionType::FlatnessRatio"))
DATAFLOW_NODE_DEFINE_INTERNAL, "SimulationPBDBendingElementConfig", "Cloth", "Cloth SimulationPBD Bending Element Config") public FChaosClothAssetWeightedValueNonAnimatable FlatnessRatio
Remarks
Method for calculating the rest angles of the constraints. Calculate rest angles as a ratio between completely flat and whatever is the 3D rest angle. When FlatnessRatio = 0, this is equivalent to "Use3DRestAngles". When FlatnessRatio = 1, the rest angle will be 0 (completely flat). If a valid weight map is found with the given Weight Map name, then both Low and High values are interpolated with the per particle weight to make the final value used for the simulation. Otherwise all particles are considered to have a zero weight, and only the Low value is meaningful.