![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "Chaos/ChaosScene.h"#include "Async/AsyncWork.h"#include "Async/ParallelFor.h"#include "Misc/CoreDelegates.h"#include "Misc/ScopeLock.h"#include "ProfilingDebugging/CsvProfiler.h"#include "ChaosSolversModule.h"#include "ChaosLog.h"#include "ChaosStats.h"#include "Field/FieldSystem.h"#include "PhysicsProxy/PerSolverFieldSystem.h"#include "PhysicsProxy/GeometryCollectionPhysicsProxy.h"#include "PhysicsProxy/SingleParticlePhysicsProxy.h"#include "PhysicsProxy/SkeletalMeshPhysicsProxy.h"#include "PhysicsProxy/StaticMeshPhysicsProxy.h"#include "Chaos/UniformGrid.h"#include "Chaos/BoundingVolume.h"#include "Chaos/Framework/DebugSubstep.h"#include "Chaos/PerParticleGravity.h"#include "PBDRigidActiveParticlesBuffer.h"#include "Chaos/GeometryParticlesfwd.h"#include "Chaos/Box.h"#include "EventsData.h"#include "EventManager.h"#include "RewindData.h"#include "PhysicsSettingsCore.h"#include "Chaos/PhysicsSolverBaseImpl.h"#include "Chaos/AsyncInitBodyHelper.h"#include "ChaosVisualDebugger/ChaosVisualDebuggerTrace.h"#include "ChaosDebugDraw/ChaosDDScene.h"#include "ChaosDebugDraw/ChaosDDTimeline.h"Variables | |
| TAutoConsoleVariable< int32 > | CVar_ChaosSimulationEnable (TEXT("P.Chaos.Simulation.Enable"), 1, TEXT("Enable / disable chaos simulation. If disabled, physics will not tick.")) |
| TAutoConsoleVariable< int32 > | CVar_ApplyProjectSettings (TEXT("p.Chaos.Simulation.ApplySolverProjectSettings"), 1, TEXT("Whether to apply the solver project settings on spawning a solver")) |
| CSV_DEFINE_CATEGORY | ( | AABBTreeExpensiveStats | , |
| false | |||
| ) |
| CSV_DEFINE_CATEGORY | ( | ChaosPhysics | , |
| true | |||
| ) |
| DECLARE_CYCLE_STAT | ( | TEXT("Update Kinematics On Deferred SkelMeshes") | , |
| STAT_UpdateKinematicsOnDeferredSkelMeshesChaos | , | ||
| STATGROUP_Physics | |||
| ) |
| DECLARE_DWORD_ACCUMULATOR_STAT | ( | TEXT("NumDirtyAABBTreeElements") | , |
| STAT_ChaosCounter_NumDirtyAABBTreeElements | , | ||
| STATGROUP_ChaosCounters | |||
| ) |
| DECLARE_DWORD_ACCUMULATOR_STAT | ( | TEXT("NumDirtyElementsTooLargeForGrid") | , |
| STAT_ChaosCounter_NumDirtyElementsTooLargeForGrid | , | ||
| STATGROUP_ChaosCounters | |||
| ) |
| DECLARE_DWORD_ACCUMULATOR_STAT | ( | TEXT("NumDirtyGridOverflowElements") | , |
| STAT_ChaosCounter_NumDirtyGridOverflowElements | , | ||
| STATGROUP_ChaosCounters | |||
| ) |
| DECLARE_DWORD_ACCUMULATOR_STAT | ( | TEXT("NumDirtyNonEmptyCellsInGrid") | , |
| STAT_ChaosCounter_NumDirtyNonEmptyCellsInGrid | , | ||
| STATGROUP_ChaosCounters | |||
| ) |
| void GetAABBTreeStats | ( | Chaos::ISpatialAccelerationCollection< Chaos::FAccelerationStructureHandle, Chaos::FReal, 3 > & | Collection, |
| Chaos::AABBTreeStatistics & | OutAABBTreeStatistics, | ||
| Chaos::AABBTreeExpensiveStatistics & | OutAABBTreeExpensiveStatistics | ||
| ) |
| TAutoConsoleVariable< int32 > CVar_ApplyProjectSettings(TEXT("p.Chaos.Simulation.ApplySolverProjectSettings"), 1, TEXT("Whether to apply the solver project settings on spawning a solver")) | ( | TEXT("p.Chaos.Simulation.ApplySolverProjectSettings") | , |
| 1 | , | ||
| TEXT("Whether to apply the solver project settings on spawning a solver") | |||
| ) |