UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FClothingSimulationContextCommon Class Reference

#include <ClothingSimulation.h>

+ Inheritance diagram for FClothingSimulationContextCommon:

Public Member Functions

UE_API FClothingSimulationContextCommon ()
 
 FClothingSimulationContextCommon (const FClothingSimulationContextCommon &)=default
 
FClothingSimulationContextCommonoperator= (const FClothingSimulationContextCommon &)=default
 
virtual UE_API ~FClothingSimulationContextCommon () override
 
virtual UE_API void Fill (const USkeletalMeshComponent *InComponent, float InDeltaSeconds, float InMaxPhysicsDelta, bool bIsInitialization)
 
- Public Member Functions inherited from IClothingSimulationContext
UE_API IClothingSimulationContext ()
 
virtual UE_API ~IClothingSimulationContext ()
 

Public Attributes

TArray< FTransformBoneTransforms
 
TArray< FMatrix44fRefToLocals
 
FTransform ComponentToWorld
 
FVector WorldGravity
 
FVector WindVelocity
 
float WindAdaption
 
float DeltaSeconds
 
float VelocityScale
 
EClothingTeleportMode TeleportMode
 
float MaxDistanceScale
 
float SolverGeometryScale = 1.f
 
int32 PredictedLod
 
FClothingSimulationCacheData CacheData
 

Protected Member Functions

virtual UE_API void FillBoneTransforms (const USkeletalMeshComponent *InComponent)
 
virtual UE_API void FillRefToLocals (const USkeletalMeshComponent *InComponent, bool bIsInitialization)
 
virtual UE_API void FillComponentToWorld (const USkeletalMeshComponent *InComponent)
 
virtual UE_API void FillWorldGravity (const USkeletalMeshComponent *InComponent)
 
virtual UE_API void FillWindVelocity (const USkeletalMeshComponent *InComponent)
 
virtual UE_API void FillDeltaSeconds (float InDeltaSeconds, float InMaxPhysicsDelta)
 
virtual UE_API void FillTeleportMode (const USkeletalMeshComponent *InComponent, float InDeltaSeconds, float InMaxPhysicsDelta)
 
virtual UE_API void FillMaxDistanceScale (const USkeletalMeshComponent *InComponent)
 
virtual UE_API void FillSolverGeometryScale (const USkeletalMeshComponent *InComponent)
 

Detailed Description

Base simulation data that just about every simulation would need.

Constructor & Destructor Documentation

◆ FClothingSimulationContextCommon() [1/2]

PRAGMA_DISABLE_DEPRECATION_WARNINGS FClothingSimulationContextCommon::FClothingSimulationContextCommon ( )

◆ FClothingSimulationContextCommon() [2/2]

FClothingSimulationContextCommon::FClothingSimulationContextCommon ( const FClothingSimulationContextCommon )
default

◆ ~FClothingSimulationContextCommon()

PRAGMA_ENABLE_DEPRECATION_WARNINGS PRAGMA_DISABLE_DEPRECATION_WARNINGS FClothingSimulationContextCommon::~FClothingSimulationContextCommon ( )
overridevirtual

Member Function Documentation

◆ Fill()

PRAGMA_ENABLE_DEPRECATION_WARNINGS void FClothingSimulationContextCommon::Fill ( const USkeletalMeshComponent *  InComponent,
float  InDeltaSeconds,
float  InMaxPhysicsDelta,
bool  bIsInitialization 
)
virtual

◆ FillBoneTransforms()

void FClothingSimulationContextCommon::FillBoneTransforms ( const USkeletalMeshComponent *  InComponent)
protectedvirtual

◆ FillComponentToWorld()

void FClothingSimulationContextCommon::FillComponentToWorld ( const USkeletalMeshComponent *  InComponent)
protectedvirtual

◆ FillDeltaSeconds()

void FClothingSimulationContextCommon::FillDeltaSeconds ( float  InDeltaSeconds,
float  InMaxPhysicsDelta 
)
protectedvirtual

◆ FillMaxDistanceScale()

void FClothingSimulationContextCommon::FillMaxDistanceScale ( const USkeletalMeshComponent *  InComponent)
protectedvirtual

◆ FillRefToLocals()

void FClothingSimulationContextCommon::FillRefToLocals ( const USkeletalMeshComponent *  InComponent,
bool  bIsInitialization 
)
protectedvirtual

◆ FillSolverGeometryScale()

void FClothingSimulationContextCommon::FillSolverGeometryScale ( const USkeletalMeshComponent *  InComponent)
protectedvirtual

◆ FillTeleportMode()

void FClothingSimulationContextCommon::FillTeleportMode ( const USkeletalMeshComponent *  InComponent,
float  InDeltaSeconds,
float  InMaxPhysicsDelta 
)
protectedvirtual

◆ FillWindVelocity()

void FClothingSimulationContextCommon::FillWindVelocity ( const USkeletalMeshComponent *  InComponent)
protectedvirtual

◆ FillWorldGravity()

void FClothingSimulationContextCommon::FillWorldGravity ( const USkeletalMeshComponent *  InComponent)
protectedvirtual

◆ operator=()

FClothingSimulationContextCommon & FClothingSimulationContextCommon::operator= ( const FClothingSimulationContextCommon )
default

Member Data Documentation

◆ BoneTransforms

TArray<FTransform> FClothingSimulationContextCommon::BoneTransforms

◆ CacheData

FClothingSimulationCacheData FClothingSimulationContextCommon::CacheData

◆ ComponentToWorld

FTransform FClothingSimulationContextCommon::ComponentToWorld

◆ DeltaSeconds

float FClothingSimulationContextCommon::DeltaSeconds

◆ MaxDistanceScale

float FClothingSimulationContextCommon::MaxDistanceScale

◆ PredictedLod

int32 FClothingSimulationContextCommon::PredictedLod

◆ RefToLocals

TArray<FMatrix44f> FClothingSimulationContextCommon::RefToLocals

◆ SolverGeometryScale

float FClothingSimulationContextCommon::SolverGeometryScale = 1.f

◆ TeleportMode

EClothingTeleportMode FClothingSimulationContextCommon::TeleportMode

◆ VelocityScale

float FClothingSimulationContextCommon::VelocityScale

◆ WindAdaption

float FClothingSimulationContextCommon::WindAdaption

◆ WindVelocity

FVector FClothingSimulationContextCommon::WindVelocity

◆ WorldGravity

FVector FClothingSimulationContextCommon::WorldGravity

The documentation for this class was generated from the following files: