Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | TGeometryParticleHandleImp |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ParticleHandle.h |
| Include Path | #include "Chaos/ParticleHandle.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ParticleHandleFwd.h |
Syntax
template<typename T, int d, bool bProcessing>
class TGeometryParticleHandleImp : public Chaos::TParticleHandleBase< T, d >
Inheritance Hierarchy
- TParticleHandleBase → TGeometryParticleHandleImp
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Needed for serialization | Chaos/ParticleHandle.h | ||
TGeometryParticleHandleImp
(
TSerializablePtr< TGeometryParticles< T, d > > InParticles, |
Chaos/ParticleHandle.h | ||
TGeometryParticleHandleImp
(
TGeometryParticles< T, d >* InParticles, |
For transient handle. | Chaos/ParticleHandle.h | |
| Chaos/ParticleHandle.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TGeometryParticleHandleImp() |
Chaos/ParticleHandle.h |
Structs
| Name | Remarks |
|---|---|
| FInvalidFromTransient |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FDynamicParticleHandleType | TPBDRigidParticleHandleImp< T, d, bPersistent > | Chaos/ParticleHandle.h | |
| FKinematicParticleHandleType | TKinematicGeometryParticleHandleImp< T, d, bPersistent > | Chaos/ParticleHandle.h | |
| THandleBase | TParticleHandleBase< T, d > | Chaos/ParticleHandle.h | |
| TSOAType | TGeometryParticles< T, d > | Chaos/ParticleHandle.h | |
| TTransientHandle | TTransientGeometryParticleHandle< T, d > | Chaos/ParticleHandle.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AlwaysSerializable | bool | Chaos/ParticleHandle.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GeometryParticles | TGeometryParticles< T, d > * | Chaos/ParticleHandle.h | ||
| ParticleIdx | int32 | Todo: maybe make private? | Chaos/ParticleHandle.h | |
| Type | EParticleType | Chaos/ParticleHandle.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddConstraintHandle
(
FConstraintHandle* InConstraintHandle |
Chaos/ParticleHandle.h | ||
void AddToLists
(
const EGeometryParticleListMask ListMask |
Chaos/ParticleHandle.h | ||
TGeometryParticleHandleImp< T, d, false > AsTransient() |
Chaos/ParticleHandle.h | ||
auto & AuxilaryValue
(
Container& AuxContainer |
Chaos/ParticleHandle.h | ||
const auto & AuxilaryValue
(
const Container& AuxContainer |
Chaos/ParticleHandle.h | ||
TPBDRigidClusteredParticleHandleImp< T, d, bPersistent > * CastToClustered () |
Chaos/ParticleHandle.h | ||
const TPBDRigidClusteredParticleHandleImp< T, d, bPersistent > * CastToClustered () |
Chaos/ParticleHandle.h | ||
TPBDGeometryCollectionParticleHandleImp< T, d, bPersistent > * CastToGeometryCollection () |
Chaos/ParticleHandle.h | ||
const TPBDGeometryCollectionParticleHandleImp< T, d, bPersistent > * CastToGeometryCollection () |
Chaos/ParticleHandle.h | ||
TKinematicGeometryParticleHandleImp< T, d, bPersistent > * CastToKinematicParticle () |
Chaos/ParticleHandle.h | ||
const TKinematicGeometryParticleHandleImp< T, d, bPersistent > * CastToKinematicParticle () |
Chaos/ParticleHandle.h | ||
const TPBDRigidParticleHandleImp< T, d, bPersistent > * CastToRigidParticle () |
Chaos/ParticleHandle.h | ||
TPBDRigidParticleHandleImp< T, d, bPersistent > * CastToRigidParticle () |
Chaos/ParticleHandle.h | ||
const TVector< T, d > & CCDAxisThreshold() |
Chaos/ParticleHandle.h | ||
const TUniquePtr< FImplicitObject > & DynamicGeometry() |
Chaos/ParticleHandle.h | ||
bool EnabledDuringResim() |
Chaos/ParticleHandle.h | ||
TSerializablePtr< FImplicitObject > Geometry() |
Chaos/ParticleHandle.h | ||
Private::FPBDIslandParticle * GetConstraintGraphNode() |
Chaos/ParticleHandle.h | ||
const FString & GetDebugName() |
Chaos/ParticleHandle.h | ||
const FImplicitObjectRef GetGeometry() |
Chaos/ParticleHandle.h | ||
int32 GetHandleIdx() |
Useful for logging to indicate particle (this is locally unique among all particles) | Chaos/ParticleHandle.h | |
int32 GetPayload
(
int32 Idx |
Chaos/ParticleHandle.h | ||
int32 GetPayload
(
int32 Idx |
Chaos/ParticleHandle.h | ||
int32 GetPayload
(
int32 Idx |
|||
int32 GetPayload
(
int32 Idx |
|||
TPayloadType GetPayload
(
int32 Idx |
Chaos/ParticleHandle.h | ||
const TRotation< T, d > GetR() |
Chaos/ParticleHandle.h | ||
const TRotation< FRealSingle, d > GetRf() |
Chaos/ParticleHandle.h | ||
FRigidTransform3 GetTransformXR() |
Chaos/ParticleHandle.h | ||
const TVector< T, d > & GetX() |
Chaos/ParticleHandle.h | ||
TGeometryParticle< T, d > * GTGeometryParticle () |
Chaos/ParticleHandle.h | ||
TGeometryParticle< T, d > *& GTGeometryParticle () |
Chaos/ParticleHandle.h | ||
const TGeometryParticleHandle< T, d > * Handle () |
Chaos/ParticleHandle.h | ||
TGeometryParticleHandle< T, d > * Handle () |
Chaos/ParticleHandle.h | ||
bool HasBounds() |
Chaos/ParticleHandle.h | ||
bool HasCollision() |
Chaos/ParticleHandle.h | ||
void InitTransform
(
const FVec3& InP, |
Initialize the transform. | Chaos/ParticleHandle.h | |
bool IsInAllLists
(
const EGeometryParticleListMask ListMask |
Chaos/ParticleHandle.h | ||
bool IsInAnyList
(
const EGeometryParticleListMask ListMask |
Chaos/ParticleHandle.h | ||
bool IsInConstraintGraph() |
Chaos/ParticleHandle.h | ||
bool LightWeightDisabled() |
Chaos/ParticleHandle.h | ||
EGeometryParticleListMask ListMask() |
Chaos/ParticleHandle.h | ||
const TAABB< T, d > & LocalBounds() |
Chaos/ParticleHandle.h | ||
void LockGeometry () |
Set a flag on all Unions to indicate that any add/remove operations are errors. | Chaos/ParticleHandle.h | |
void MergeGeometry
(
TArray< Chaos::FImplicitObjectPtr >&& Objects |
Chaos/ParticleHandle.h | ||
void MoveToSOA
(
TGeometryParticles< T, d >& ToSOA |
Chaos/ParticleHandle.h | ||
EObjectStateType ObjectState() |
Chaos/ParticleHandle.h | ||
| Chaos/ParticleHandle.h | |||
const FParticleCollisions & ParticleCollisions () |
Chaos/ParticleHandle.h | ||
const FConstraintHandleArray & ParticleConstraints () |
Chaos/ParticleHandle.h | ||
FConstraintHandleArray & ParticleConstraints () |
Chaos/ParticleHandle.h | ||
FParticleID ParticleID() |
Chaos/ParticleHandle.h | ||
const IPhysicsProxyBase * PhysicsProxy () |
Chaos/ParticleHandle.h | ||
| Chaos/ParticleHandle.h | |||
| Chaos/ParticleHandle.h | |||
| Chaos/ParticleHandle.h | |||
void RemoveConstraintHandle
(
FConstraintHandle* InConstraintHandle |
Chaos/ParticleHandle.h | ||
void RemoveFromLists
(
const EGeometryParticleListMask ListMask |
Chaos/ParticleHandle.h | ||
void RemoveShape
(
FPerShapeData* InShape |
Chaos/ParticleHandle.h | ||
void RemoveShapesAtSortedIndices
(
const TArrayView< const int32 >& InIndices |
Chaos/ParticleHandle.h | ||
EResimType ResimType() |
Chaos/ParticleHandle.h | ||
void Serialize
(
FChaosArchive& Ar |
Chaos/ParticleHandle.h | ||
void SetConstraintGraphNode
(
Private::FPBDIslandParticle* InNode |
Chaos/ParticleHandle.h | ||
void SetDynamicGeometry
(
TUniquePtr< FImplicitObject >&& Unique |
Chaos/ParticleHandle.h | ||
void SetEnabledDuringResim
(
bool bEnabledDuringResim |
Chaos/ParticleHandle.h | ||
void SetGeometry
(
TSerializablePtr< FImplicitObject > InGeometry |
Chaos/ParticleHandle.h | ||
void SetGeometry
(
const FImplicitObjectPtr& InGeometry |
Chaos/ParticleHandle.h | ||
void SetHasBounds
(
bool bHasBounds |
Chaos/ParticleHandle.h | ||
void SetHasCollision
(
const bool bHasCollision |
Chaos/ParticleHandle.h | ||
void SetLightWeightDisabled
(
bool bLightWeightDisabled |
Chaos/ParticleHandle.h | ||
void SetLocalBounds
(
const TAABB< T, d >& NewBounds |
Chaos/ParticleHandle.h | ||
void SetNonFrequentData
(
const FParticleNonFrequentData& InData |
Chaos/ParticleHandle.h | ||
void SetParticleID
(
const FParticleID& ParticleID |
Chaos/ParticleHandle.h | ||
void SetPhysicsProxy
(
IPhysicsProxyBase* PhysicsProxy |
Chaos/ParticleHandle.h | ||
void SetR
(
const TRotation< T, d >& InR, |
Chaos/ParticleHandle.h | ||
void SetResimType
(
EResimType ResimType |
Chaos/ParticleHandle.h | ||
void SetRf
(
const TRotation< FRealSingle, d >& InR, |
Chaos/ParticleHandle.h | ||
void SetSharedGeometry
(
TSharedPtr< const FImplicitObject, ESPMode::ThreadSafe > InGeometry |
Chaos/ParticleHandle.h | ||
void SetSpatialIdx
(
FSpatialAccelerationIdx Idx |
Chaos/ParticleHandle.h | ||
void SetSyncState
(
ESyncState State |
Chaos/ParticleHandle.h | ||
void SetUniqueIdx
(
const FUniqueIdx UniqueIdx, |
Chaos/ParticleHandle.h | ||
void SetX
(
const TVector< T, d >& InX, |
Chaos/ParticleHandle.h | ||
void SetXR
(
const FParticlePositionRotation& XR |
Chaos/ParticleHandle.h | ||
const FShapeInstanceArray & ShapeInstances() |
Chaos/ParticleHandle.h | ||
const FShapesArray & ShapesArray() |
Chaos/ParticleHandle.h | ||
TSharedPtr< const FImplicitObject, ESPMode::ThreadSafe > SharedGeometry() |
Chaos/ParticleHandle.h | ||
const TSharedPtr< const FImplicitObject, ESPMode::ThreadSafe > & SharedGeometryLowLevel() |
Chaos/ParticleHandle.h | ||
bool Sleeping() |
Chaos/ParticleHandle.h | ||
FSpatialAccelerationIdx SpatialIdx() |
Chaos/ParticleHandle.h | ||
ESyncState SyncState() |
Chaos/ParticleHandle.h | ||
FString ToString() |
Chaos/ParticleHandle.h | ||
FUniqueIdx UniqueIdx() |
Chaos/ParticleHandle.h | ||
void UpdateWorldSpaceState
(
const FRigidTransform3& WorldTransform, |
Update any cached state that depends on world-space transform This includes the world space bounds for the particle and all its shapes. | Chaos/ParticleHandle.h | |
void UpdateWorldSpaceStateSwept
(
const FRigidTransform3& WorldTransform, |
Update any cached state that depends on world-space transform for a sweep between WorldTransform and WorldTransform + DeltaX. | Chaos/ParticleHandle.h | |
FWeakParticleHandle & WeakParticleHandle() |
Chaos/ParticleHandle.h | ||
const TAABB< T, d > & WorldSpaceInflatedBounds() |
Chaos/ParticleHandle.h | ||
| Chaos/ParticleHandle.h | |||
| Chaos/ParticleHandle.h |
Protected
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TUniquePtr< TGeometryParticleHandleImp< T, d, bPersistent > > CreateParticleHandle
(
TSerializablePtr< TGeometryParticles< T, d > > InParticles, |
Chaos/ParticleHandle.h | ||
static TUniquePtr< typename TParticlesType::THandleType > CreateParticleHandleHelper
(
TSerializablePtr< TParticlesType > InParticles, |
Chaos/ParticleHandle.h | ||
static TGeometryParticleHandleImp< T, d, bPersistent > * SerializationFactory
(
FChaosArchive& Ar, |
Chaos/ParticleHandle.h | ||
static EParticleType StaticType() |
Chaos/ParticleHandle.h |