Navigation
API > API/Runtime > API/Runtime/Chaos
Proxy class to manage access to and syncing of character ground constraint data between the game thread and physics thread
| Name | FCharacterGroundConstraintProxy |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/PhysicsProxy/CharacterGroundConstraintProxy.h |
| Include Path | #include "PhysicsProxy/CharacterGroundConstraintProxy.h" |
Syntax
class FCharacterGroundConstraintProxy : public IPhysicsProxyBase
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCharacterGroundConstraintProxy
(
FCharacterGroundConstraint* InConstraintGT, |
PhysicsProxy/CharacterGroundConstraintProxy.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Base | IPhysicsProxyBase | PhysicsProxy/CharacterGroundConstraintProxy.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bInitialized | bool | PhysicsProxy/CharacterGroundConstraintProxy.h | ||
| Constraint_GT | FCharacterGroundConstraint * | PhysicsProxy/CharacterGroundConstraintProxy.h | ||
| Constraint_PT | FCharacterGroundConstraintHandle * | PhysicsProxy/CharacterGroundConstraintProxy.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BufferPhysicsResults
(
FDirtyCharacterGroundConstraintData& Buffer |
Manage Output Data. | PhysicsProxy/CharacterGroundConstraintProxy.h | |
void DestroyOnGameThread() |
Deletes the game thread constraint. | PhysicsProxy/CharacterGroundConstraintProxy.h | |
void DestroyOnPhysicsThread
(
FPBDRigidsSolver* InSolver |
Removes references to the physics thread constraint and deletes it. | PhysicsProxy/CharacterGroundConstraintProxy.h | |
| Member Access. | PhysicsProxy/CharacterGroundConstraintProxy.h | ||
const FCharacterGroundConstraint * GetGameThreadAPI () |
PhysicsProxy/CharacterGroundConstraintProxy.h | ||
| PhysicsProxy/CharacterGroundConstraintProxy.h | |||
| PhysicsProxy/CharacterGroundConstraintProxy.h | |||
void InitializeOnPhysicsThread
(
FPBDRigidsSolver* InSolver, |
State Management. | PhysicsProxy/CharacterGroundConstraintProxy.h | |
bool PullFromPhysicsState
(
const FDirtyCharacterGroundConstraintData& Buffer, |
Write the output constraint data from the buffer to the game thread. | PhysicsProxy/CharacterGroundConstraintProxy.h | |
void PushStateOnGameThread
(
FDirtyPropertiesManager& Manager, |
Pushes any changed data from the game thread constraint to the remote data. | PhysicsProxy/CharacterGroundConstraintProxy.h | |
void PushStateOnPhysicsThread
(
FPBDRigidsSolver* InSolver, |
Reads changed data from the game thread constraint into the physics thread constraint via the remote data. | PhysicsProxy/CharacterGroundConstraintProxy.h |
Overridden from IPhysicsProxyBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void * GetHandleUnsafe() |
IPhysicsProxyBase Implementation. | PhysicsProxy/CharacterGroundConstraintProxy.h |