| IClothingSimulationContext
|
Module |
|
Header |
/Engine/Source/Runtime/ClothingSystemRuntimeCommon/Public/ClothingSimulation.h |
Include |
#include "ClothingSimulation.h" |
class FClothingSimulationContextCommon : public IClothingSimulationContext
Base simulation data that just about every simulation would need.
Name | Description | ||
---|---|---|---|
|
BoneTransforms |
Component space bone transforms of the owning component. |
|
|
ComponentToWorld |
Component to world transform of the owning component. |
|
|
float |
DeltaSeconds |
Delta for this tick. |
|
float |
MaxDistanceScale |
Scale for the max distance constraints of the simulation mesh. |
|
PredictedLod |
The predicted LOD of the skeletal mesh component running the simulation. |
|
|
RefToLocals |
Ref to local matrices from the owning component (for skinning fixed verts) |
|
|
TeleportMode |
Whether and how we should teleport the simulation this tick. |
|
|
float |
WindAdaption |
Wind adaption, a measure of how quickly to adapt to the wind speed when using the legacy wind calculation mode |
|
WindVelocity |
Wind velocity at the component location. |
|
|
WorldGravity |
Gravity extracted from the world. |
Name | Description | |
---|---|---|
|
FClothingSimulationContextCommon() |
Name | Description | |
---|---|---|
|
~FClothingSimulationContextCommon() |
Name | Description | ||
---|---|---|---|
|
Fill ( |
Fill this context using the given skeletal mesh component. |
|
|
FillBoneTransforms ( |
Default fill behavior as expected to be used by every simulation. |
|
|
FillComponentToWorld ( |
||
|
FillDeltaSeconds ( |
||
|
FillMaxDistanceScale ( |
||
|
FillRefToLocals ( |
||
|
FillTeleportMode ( |
||
|
FillWindVelocity ( |
||
|
FillWorldGravity ( |