Navigation
API > API/Runtime > API/Runtime/Chaos
Wrapper class that routes all reads and writes to the appropriate particle data. This is helpful for cases where we want to both write to a particle and a network buffer for example
| Name | TThreadedSingleParticlePhysicsProxyBase |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/PhysicsProxy/SingleParticlePhysicsProxy.h |
| Include Path | #include "PhysicsProxy/SingleParticlePhysicsProxy.h" |
Syntax
template<bool bExternal>
class TThreadedSingleParticlePhysicsProxyBase : protected Chaos::FSingleParticlePhysicsProxy
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TThreadedSingleParticlePhysicsProxyBase() |
PhysicsProxy/SingleParticlePhysicsProxy.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FVec3 Acceleration() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void AddForce
(
const FVec3& InForce, |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void AddTorque
(
const FVec3& InTorque, |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const FVec3 AngularAcceleration() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const FReal AngularEtherDrag() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const FVec3 AngularImpulse() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const FVec3 AngularImpulseVelocity() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
bool CanTreatAsKinematic() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
bool CanTreatAsRigid() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
bool CCDEnabled() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const FVec3 CenterOfMass() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
TSerializablePtr< FImplicitObject > Geometry() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const FImplicitObjectRef GetGeometry() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
FSingleParticlePhysicsProxy * GetProxy() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
FRotation3 GetR() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const FVec3 GetV() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const FVec3 GetW() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const FVec3 & GetX() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
bool GravityEnabled() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
int32 GravityGroupIndex() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
bool GyroscopicTorqueEnabled() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const Chaos::TVec3< FRealSingle > I() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
bool InertiaConditioningEnabled() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const Chaos::TVec3< FRealSingle > InvI() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const FReal InvM() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const FReal LinearEtherDrag() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const FVec3 LinearImpulse() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const FVec3 LinearImpulseVelocity() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const FReal M() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
bool MACDEnabled() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
EObjectStateType ObjectState() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
EParticleType ObjectType() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
bool OneWayInteraction() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
bool PartialIslandSleepAllowed() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
FRotation3 R() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
EResimType ResimType() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const FRotation3 RotationOfMass() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetAcceleration
(
const FVec3& Acceleration, |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetAngularAcceleration
(
const FVec3& AngularAcceleration, |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetAngularEtherDrag
(
const FReal InAngularEtherDrag |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetAngularImpulse
(
const FVec3& InAngularImpulse, |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetCCDEnabled
(
const bool InCCDEnabled |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetCenterOfMass
(
const FVec3& InCenterOfMass, |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetGravityEnabled
(
const bool InGravityEnabled |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetGravityGroupIndex
(
const uint32 InGravityGroupIndex |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetGyroscopicTorqueEnabled
(
const bool InGyroscopicTorqueEnabled |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetI
(
const Chaos::TVec3< FRealSingle >& InI |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetInertiaConditioningEnabled
(
const bool bInEnabled |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetInvI
(
const Chaos::TVec3< FRealSingle >& InInvI |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetInvM
(
const FReal InInvM |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetKinematicTarget
(
const FRigidTransform3& InTargetTransform, |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetKinematicTarget
(
const FKinematicTarget& InKinematicTarget, |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetLinearEtherDrag
(
const FReal InLinearEtherDrag |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetLinearImpulse
(
const FVec3& InLinearImpulse, |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetM
(
const FReal InM |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetMACDEnabled
(
const bool InMACDEnabled |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetOneWayInteraction
(
const bool bInOneWayInteraction |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetPartialIslandSleepAllowed
(
const bool InPartialIslandSleepAllowed |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetPositionSolverIterations
(
const int32 PositionSolverIterationsIn |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetProjectionSolverIterations
(
const int32 ProjectionSolverIterationsIn |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetResimType
(
EResimType ResimType |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetRotationOfMass
(
const FRotation3& InRotationOfMass, |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetSleepType
(
ESleepType InSleepType |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetSpatialIdx
(
FSpatialAccelerationIdx Idx |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetUniqueIdx
(
const FUniqueIdx UniqueIdx, |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetUpdateKinematicFromSimulation
(
const bool InUpdateKinematicFromSimulation |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetVelocitySolverIterations
(
const int32 VelocitySolverIterationsIn |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const FShapesArray & ShapesArray() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const TSharedPtr< FImplicitObject, ESPMode::ThreadSafe > & SharedGeometryLowLevel() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
ESleepType SleepType() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
FSpatialAccelerationIdx SpatialIdx() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
FUniqueIdx UniqueIdx() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
bool UpdateKinematicFromSimulation() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const FVec3 V() |
API for kinematic particle. | PhysicsProxy/SingleParticlePhysicsProxy.h | |
const FVec3 W() |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
const FVec3 & X() |
API for static particle. | PhysicsProxy/SingleParticlePhysicsProxy.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetObjectStateBase
(
const EObjectStateType InState, |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetRBase
(
const FRotation3& InR, |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetVBase
(
const FVec3& InV, |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetWBase
(
const FVec3& InW, |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void SetXBase
(
const FVec3& InX, |
PhysicsProxy/SingleParticlePhysicsProxy.h | ||
void VerifyContext() |
PhysicsProxy/SingleParticlePhysicsProxy.h |