![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ChaosScene.h>
Inheritance diagram for FChaosScene:Public Attributes | |
| FOnPhysScenePostTick | OnPhysScenePostTick |
Protected Member Functions | |
| virtual float | OnStartFrame (float InDeltaTime) |
| virtual PHYSICSCORE_API void | OnSyncBodies (Chaos::FPhysicsSolverBase *Solver) |
Friends | |
| struct | ChaosInterface::FScopedSceneReadLock |
| struct | FScopedSceneLock_Chaos |
Low level Chaos scene used when building custom simulations that don't exist in the main world physics scene.
| FChaosScene::FChaosScene | ( | UObject * | OwnerPtr, |
| Chaos::FReal | InAsyncDt, | ||
| const FName & | DebugName = NAME_None |
||
| ) |
|
virtual |
| void FChaosScene::AddActorsToScene_AssumesLocked | ( | TArray< FPhysicsActorHandle > & | InHandles, |
| const bool | bImmediate = true |
||
| ) |
| bool FChaosScene::AreAnyTasksPending | ( | ) | const |
| void FChaosScene::BeginDestroy | ( | ) |
| void FChaosScene::CopySolverAccelerationStructure | ( | ) |
Copies the acceleration structure out of the solver, does no thread safety checking so ensure calls to this are made at appropriate sync points if required
| FChaosScene::DECLARE_MULTICAST_DELEGATE_OneParam | ( | FOnPhysScenePostTick | , |
| FChaosScene * | |||
| ) |
| void FChaosScene::EndFrame | ( | ) |
| void FChaosScene::Flush | ( | ) |
Flushes all pending global, task and solver command queues and refreshes the spatial acceleration for the scene. Required when querying against a currently non-running scene to ensure the scene is correctly represented
| FGraphEventArray FChaosScene::GetCompletionEvents | ( | ) |
|
inline |
|
inline |
Get the internal Chaos solver object
| Chaos::ISpatialAcceleration< Chaos::FAccelerationStructureHandle, Chaos::FReal, 3 > * FChaosScene::GetSpacialAcceleration | ( | ) |
| const Chaos::ISpatialAcceleration< Chaos::FAccelerationStructureHandle, Chaos::FReal, 3 > * FChaosScene::GetSpacialAcceleration | ( | ) | const |
| bool FChaosScene::IsCompletionEventComplete | ( | ) | const |
| void FChaosScene::KillSafeAsyncTasks | ( | ) |
Reimplemented in FPhysScene_Chaos.
|
protectedvirtual |
| void FChaosScene::RemoveActorFromAccelerationStructure | ( | FPhysicsActorHandle | Actor | ) |
| void FChaosScene::RemoveActorFromAccelerationStructureImp | ( | Chaos::FGeometryParticle * | Particle | ) |
| void FChaosScene::SetUpForFrame | ( | const FVector * | NewGrav, |
| float | InDeltaSeconds, | ||
| float | InMinPhysicsDeltaTime, | ||
| float | InMaxPhysicsDeltaTime, | ||
| float | InMaxSubstepDeltaTime, | ||
| int32 | InMaxSubsteps, | ||
| bool | bSubstepping | ||
| ) |
| void FChaosScene::StartFrame | ( | ) |
| void FChaosScene::UpdateActorInAccelerationStructure | ( | const FPhysicsActorHandle & | Actor | ) |
| void FChaosScene::UpdateActorsInAccelerationStructure | ( | const TArrayView< FPhysicsActorHandle > & | Actors | ) |
| void FChaosScene::WaitPhysScenes | ( | ) |
| void FChaosScene::WaitSolverTasks | ( | ) |
|
friend |
|
protected |
|
protected |
|
protected |
| FOnPhysScenePostTick FChaosScene::OnPhysScenePostTick |
|
protected |
|
protected |
|
protected |