UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ChaosSolversModule.cpp File Reference

Namespaces

namespace  Chaos
 

Functions

 DECLARE_CYCLE_STAT (TEXT("PhysicsDedicatedStats"), STAT_PhysicsDedicatedStats, STATGROUP_ChaosDedicated)
 
 DECLARE_FLOAT_COUNTER_STAT (TEXT("PhysicsThreadTotalTime(ms)"), STAT_PhysicsThreadTotalTime, STATGROUP_ChaosDedicated)
 
 DECLARE_DWORD_COUNTER_STAT (TEXT("NumActiveConstraints"), STAT_NumActiveConstraintsDedicated, STATGROUP_ChaosDedicated)
 
 DECLARE_DWORD_COUNTER_STAT (TEXT("NumActiveParticles"), STAT_NumActiveParticlesDedicated, STATGROUP_ChaosDedicated)
 
 DECLARE_DWORD_COUNTER_STAT (TEXT("NumActiveCollisionPoints"), STAT_NumActiveCollisionPointsDedicated, STATGROUP_ChaosDedicated)
 
 DECLARE_DWORD_COUNTER_STAT (TEXT("NumActiveShapes"), STAT_NumActiveShapesDedicated, STATGROUP_ChaosDedicated)
 

Variables

TAutoConsoleVariable< int32CVarChaosThreadEnabled (TEXT("p.Chaos.DedicatedThreadEnabled"), 1, TEXT("1: Enabled"))
 
TAutoConsoleVariable< Chaos::FRealSingleCVarDedicatedThreadDesiredHz (TEXT("p.Chaos.Thread.DesiredHz"), 60.0f, TEXT("Desired update rate of the dedicated physics thread in Hz/FPS (Default 60.0f)"))
 
TAutoConsoleVariable< int32CVarDedicatedThreadSyncThreshold (TEXT("p.Chaos.Thread.WaitThreshold"), 0,)
 
FInternalDefaultSettings Chaos::GDefaultChaosSettings
 
TAutoConsoleVariable< FString > DumpHier_ElementBuckets (TEXT("p.Chaos.DumpHierElementBuckets"), TEXT("1,4,8,16,32,64,128,256,512"), TEXT("Distribution buckets for dump hierarchy stats command"))
 

Function Documentation

◆ DECLARE_CYCLE_STAT()

DECLARE_CYCLE_STAT ( TEXT("PhysicsDedicatedStats")  ,
STAT_PhysicsDedicatedStats  ,
STATGROUP_ChaosDedicated   
)

◆ DECLARE_DWORD_COUNTER_STAT() [1/4]

DECLARE_DWORD_COUNTER_STAT ( TEXT("NumActiveCollisionPoints")  ,
STAT_NumActiveCollisionPointsDedicated  ,
STATGROUP_ChaosDedicated   
)

◆ DECLARE_DWORD_COUNTER_STAT() [2/4]

DECLARE_DWORD_COUNTER_STAT ( TEXT("NumActiveConstraints")  ,
STAT_NumActiveConstraintsDedicated  ,
STATGROUP_ChaosDedicated   
)

◆ DECLARE_DWORD_COUNTER_STAT() [3/4]

DECLARE_DWORD_COUNTER_STAT ( TEXT("NumActiveParticles")  ,
STAT_NumActiveParticlesDedicated  ,
STATGROUP_ChaosDedicated   
)

◆ DECLARE_DWORD_COUNTER_STAT() [4/4]

DECLARE_DWORD_COUNTER_STAT ( TEXT("NumActiveShapes")  ,
STAT_NumActiveShapesDedicated  ,
STATGROUP_ChaosDedicated   
)

◆ DECLARE_FLOAT_COUNTER_STAT()

DECLARE_FLOAT_COUNTER_STAT ( TEXT("PhysicsThreadTotalTime(ms)")  ,
STAT_PhysicsThreadTotalTime  ,
STATGROUP_ChaosDedicated   
)

Variable Documentation

◆ CVarChaosThreadEnabled

TAutoConsoleVariable< int32 > CVarChaosThreadEnabled(TEXT("p.Chaos.DedicatedThreadEnabled"), 1, TEXT("1: Enabled")) ( TEXT("p.Chaos.DedicatedThreadEnabled")  ,
,
TEXT("1: Enabled")   
)

◆ CVarDedicatedThreadDesiredHz

TAutoConsoleVariable< Chaos::FRealSingle > CVarDedicatedThreadDesiredHz(TEXT("p.Chaos.Thread.DesiredHz"), 60.0f, TEXT("Desired update rate of the dedicated physics thread in Hz/FPS (Default 60.0f)")) ( TEXT("p.Chaos.Thread.DesiredHz")  ,
60.  0f,
TEXT("Desired update rate of the dedicated physics thread in Hz/FPS (Default 60.0f)")   
)

◆ CVarDedicatedThreadSyncThreshold

TAutoConsoleVariable< int32 > CVarDedicatedThreadSyncThreshold(TEXT("p.Chaos.Thread.WaitThreshold"), 0,) ( TEXT("p.Chaos.Thread.WaitThreshold")  ,
 
)

◆ DumpHier_ElementBuckets

TAutoConsoleVariable< FString > DumpHier_ElementBuckets(TEXT("p.Chaos.DumpHierElementBuckets"), TEXT("1,4,8,16,32,64,128,256,512"), TEXT("Distribution buckets for dump hierarchy stats command")) ( TEXT("p.Chaos.DumpHierElementBuckets")  ,
TEXT("1,4,8,16,32,64,128,256,512")  ,
TEXT("Distribution buckets for dump hierarchy stats command"  
)