Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Physics > API/Runtime/Engine/Physics/Experimental
Inheritance Hierarchy
- FChaosScene
- FPhysScene_Chaos
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Physics/Experimental/PhysScene_Chaos.h |
Include | #include "Physics/Experimental/PhysScene_Chaos.h" |
Syntax
class FPhysScene_Chaos : public FChaosScene
Remarks
Low level Chaos scene used when building custom simulations that don't exist in the main world physics scene.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FReplicationCacheData | ||
![]() |
FOnPhysScenePreTick | OnPhysScenePreTick | |
![]() |
FOnPhysSceneStep | OnPhysSceneStep |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FPhysScene_Chaos
(
AActor* InSolverActor |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
void | AddAggregateToScene
(
const FPhysicsAggregateHandle& InAggregate |
|
![]() |
void | AddCustomPhysics_AssumesLocked
(
FBodyInstance* BodyInstance, |
|
![]() |
void | AddForce_AssumesLocked
(
FBodyInstance* BodyInstance, |
|
![]() |
void | AddForceAtPosition_AssumesLocked
(
FBodyInstance* BodyInstance, |
|
![]() |
void | AddObject
(
UPrimitiveComponent* Component, |
|
![]() |
void | AddObject
(
UPrimitiveComponent* Component, |
|
![]() |
void | AddObject
(
UPrimitiveComponent* Component, |
|
![]() |
void | AddObject
(
UPrimitiveComponent* Component, |
|
![]() |
void | AddObject
(
UPrimitiveComponent* Component, |
Called during creation of the physics state for gamethread objects to pass off an object to the physics thread |
![]() |
void | AddPendingOnConstraintBreak
(
FConstraintInstance* ConstraintInstance, |
|
![]() |
void | AddPendingSleepingEvent
(
FBodyInstance* BI, |
|
![]() |
void | AddRadialForceToBody_AssumesLocked
(
FBodyInstance* BodyInstance, |
|
![]() ![]() |
void | AddReferencedObjects
(
FReferenceCollector& Collector |
|
![]() |
void | AddToComponentMaps
(
UPrimitiveComponent* Component, |
|
![]() |
void | AddTorque_AssumesLocked
(
FBodyInstance* BodyInstance, |
|
![]() |
void | ApplyWorldOffset
(
FVector InOffset |
|
![]() |
void | ClearForces_AssumesLocked
(
FBodyInstance* BodyInstance, |
|
![]() |
void | ClearPreSimKinematicUpdate
(
USkeletalMeshComponent* InSkelComp |
|
![]() |
void | ClearTorques_AssumesLocked
(
FBodyInstance* BodyInstance, |
|
![]() |
IPhysicsReplication * | ||
![]() |
void | Create the replication cache if one doesn't exist | |
![]() |
void | DeferPhysicsStateCreation
(
UPrimitiveComponent* Component |
|
![]() |
int32 |
DirtyElementCount
(
Chaos::ISpatialAccelerationCollection< Chaos::FAccelerationStructureHandle, Chaos::FReal, 3 >& Coll... |
|
![]() |
void | EnqueueAsyncPhysicsCommand
(
int32 PhysicsStep, |
|
![]() |
void | EnsureCollisionTreeIsBuilt
(
UWorld* World |
|
![]() |
bool | ExecApexVis
(
uint32 SceneType, |
|
![]() |
bool | ExecPxVis
(
uint32 SceneType, |
|
![]() |
FReplicationCacheData
(
const FReplicationCacheData& |
||
![]() |
FReplicationCacheData
(
FReplicationCacheData&& |
||
![]() |
FReplicationCacheData
(
UPrimitiveComponent* InRootComponent, |
||
![]() |
Chaos::FReal | ||
![]() ![]() |
FBodyInstance * | GetBodyInstanceFromProxy
(
const IPhysicsProxyBase* PhysicsProxy |
Given a physics proxy, returns its associated body instance if any |
![]() ![]() |
const FBodyInstance * | GetBodyInstanceFromProxyAndShape
(
IPhysicsProxyBase* InProxy, |
|
![]() ![]() |
UChaosEventRelay * | ||
![]() ![]() |
bool | GetKinematicTarget_AssumesLocked
(
const FBodyInstance* BodyInstance, |
|
![]() ![]() |
int32 | ||
![]() ![]() |
const TArray< IPhysicsProxyBase * > * | GetOwnedPhysicsProxies
(
UPrimitiveComponent* Comp |
Given a component, returns its associated solver objects. |
![]() ![]() |
UPrimitiveComponent * | GetOwningComponent
(
const IPhysicsProxyBase* PhysicsProxy |
|
![]() ![]() |
OwnerType * | GetOwningComponent
(
const IPhysicsProxyBase* PhysicsProxy |
Given a solver object, returns its associated component. |
![]() ![]() |
UPrimitiveComponent * | GetOwningComponent
(
const IPhysicsProxyBase* PhysicsProxy |
|
![]() |
UWorld * | ||
![]() ![]() |
const UWorld * | ||
![]() |
TArray< FCollisionNotifyInfo > & | GetPendingCollisionNotifies
(
int32 SceneType |
|
![]() |
IPhysicsReplication * | ||
![]() |
FPhysicsReplicationCache * | Get the FPhysicsReplicationCache | |
![]() |
PRAGMA_ENABLE_DEPRECATION_WARNINGS PRAGMA_DISABLE_DEPRECATION_WARNINGSUPrimitiveComponent * | ||
![]() ![]() |
AActor * | Returns the actor that owns this solver. | |
![]() |
FRigidBodyState & | GetState () |
|
![]() |
const FRigidBodyState * | GetStateFromReplicationCache
(
UPrimitiveComponent* RootComponent, |
Get cached state for replication, if no state is cached RegisterForReplicationCache() is called |
![]() |
bool | HandleExecCommands
(
const TCHAR* Cmd, |
|
![]() ![]() |
bool | ||
![]() |
bool | IsCached () |
|
![]() |
void | ||
![]() |
void | ListAwakeRigidBodies
(
bool bIncludeKinematic |
|
![]() |
bool | MarkForPreSimKinematicUpdate
(
USkeletalMeshComponent* InSkelComp, |
|
![]() ![]() |
float | OnStartFrame
(
float InDeltaTime |
|
![]() |
void | ||
![]() |
void | Callback when a world ends, to mark updated packages dirty. | |
![]() |
void | PopulateReplicationCache
(
const int32 PhysicsStep |
|
![]() |
void | ||
![]() |
void | RegisterAsyncPhysicsTickActor
(
AActor* Actor |
|
![]() |
void | RegisterAsyncPhysicsTickComponent
(
UActorComponent* Component |
|
![]() |
void | RegisterForCollisionEvents
(
UPrimitiveComponent* Component |
|
![]() |
void | RegisterForGlobalCollisionEvents
(
UPrimitiveComponent* Component |
|
![]() |
void | RegisterForGlobalRemovalEvents
(
UPrimitiveComponent* Component |
|
![]() |
void | RegisterForReplicationCache
(
UPrimitiveComponent* RootComponent |
Register a component for physics replication state caching, the component will deregister automatically if cache is not accessed within timelimit set by CVar: np2.ReplicationCache.LingerForNSeconds |
![]() |
void | RemoveBodyInstanceFromPendingLists_AssumesLocked
(
FBodyInstance* BodyInstance, |
|
![]() |
void | RemoveDeferredPhysicsStateCreation
(
UPrimitiveComponent* Component |
|
![]() |
void | RemoveFromComponentMaps
(
IPhysicsProxyBase* InObject |
|
![]() |
void | RemoveObject
(
FSkeletalMeshPhysicsProxy* InObject |
Called during physics state destruction for the game thread to remove objects from the simulation #BG TODO - Doesn't actually remove from the evolution at the moment |
![]() |
void | RemoveObject
(
FStaticMeshPhysicsProxy* InObject |
|
![]() |
void | RemoveObject
(
Chaos::FSingleParticlePhysicsProxy* InObject |
|
![]() |
void | RemoveObject
(
FGeometryCollectionPhysicsProxy* InObject |
|
![]() |
void | RemoveObject
(
Chaos::FClusterUnionPhysicsProxy* InObject |
|
![]() |
void | ResimNFrames
(
int32 NumFrames |
|
![]() |
void | SetAccessTime
(
Chaos::FReal Time |
|
![]() |
void | SetIsCached
(
bool InIsCached |
|
![]() |
void | SetKinematicTarget_AssumesLocked
(
FBodyInstance* BodyInstance, |
|
![]() |
void | SetOwningWorld
(
UWorld* InOwningWorld |
|
![]() |
void | SetPhysicsReplication
(
IPhysicsReplication* InPhysicsReplication |
|
![]() |
void | SetPhysXTreeRebuildRate
(
int32 RebuildRate |
|
![]() |
void | StartAsync () |
|
![]() ![]() |
bool | ||
![]() |
void | UnregisterAsyncPhysicsTickActor
(
AActor* Actor |
|
![]() |
void | UnregisterAsyncPhysicsTickComponent
(
UActorComponent* Component |
|
![]() |
void | UnRegisterForCollisionEvents
(
UPrimitiveComponent* Component |
|
![]() |
void | UnRegisterForGlobalCollisionEvents
(
UPrimitiveComponent* Component |
|
![]() |
void | UnRegisterForGlobalRemovalEvents
(
UPrimitiveComponent* Component |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
FReplicationCacheData & | ||
![]() |
FReplicationCacheData & | operator=
(
const FReplicationCacheData& |
Typedefs
Name | Description |
---|---|
FOnPhysScenePreTick | |
FOnPhysSceneStep | |
Super |
Constants
Name | Description |
---|---|
CollisionModifierCallback | |
PhysicsReplicationFactory |