Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | TGeometryParticle |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ISpatialAcceleration.h |
| Include Path | #include "Chaos/ISpatialAcceleration.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Public/PhysicsProxy/SingleParticlePhysicsProxyFwd.h |
Syntax
template<typename T, int d>
class TGeometryParticle
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TGeometryParticle
(
const FGeometryParticleParameters& StaticParams |
Chaos/ParticleHandle.h | ||
TGeometryParticle
(
const TGeometryParticle& |
Chaos/ParticleHandle.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~TGeometryParticle() |
Chaos/ParticleHandle.h |
Enums
Protected
| Name | Remarks |
|---|---|
| EGeometryAccess | Describes how a call to ModifyGeometry wishes to access the underlying particle geometry |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FHandle | TGeometryParticleHandle< T, d > | Chaos/ParticleHandle.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AlwaysSerializable | bool | Chaos/ParticleHandle.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MNonFrequentData | TChaosProperty< FParticleNonFrequentData, EChaosProperty::NonFrequentData > | Chaos/ParticleHandle.h | ||
| MShapesArray | FShapeInstanceProxyArray | Chaos/ParticleHandle.h | ||
| MUserData | void * | Chaos/ParticleHandle.h | ||
| MXR | TChaosProperty< FParticlePositionRotation, EChaosProperty::XR > | Chaos/ParticleHandle.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TKinematicGeometryParticle< T, d > * CastToKinematicParticle () |
Chaos/ParticleHandle.h | ||
const TKinematicGeometryParticle< T, d > * CastToKinematicParticle () |
Holding on the deprecation for now as inter dependencies require the use of TPBDGeometryCollectionParticle<> | Chaos/ParticleHandle.h | |
const TPBDRigidParticle< T, d > * CastToRigidParticle () |
Chaos/ParticleHandle.h | ||
TPBDRigidParticle< T, d > * CastToRigidParticle () |
Chaos/ParticleHandle.h | ||
void ClearDirtyFlags() |
Chaos/ParticleHandle.h | ||
const FDirtyChaosPropertyFlags & DirtyFlags() |
Chaos/ParticleHandle.h | ||
bool EnabledDuringResim() |
Chaos/ParticleHandle.h | ||
void ForceDirty
(
EChaosPropertyFlags CheckBits |
Chaos/ParticleHandle.h | ||
TSerializablePtr< FImplicitObject > Geometry() |
Chaos/ParticleHandle.h | ||
const TSharedPtr< const FImplicitObject, ESPMode::ThreadSafe > & GeometrySharedLowLevel() |
Chaos/ParticleHandle.h | ||
const FString & GetDebugName() |
Chaos/ParticleHandle.h | ||
const FImplicitObjectRef GetGeometry() |
Chaos/ParticleHandle.h | ||
IPhysicsProxyBase * GetProxy() |
Chaos/ParticleHandle.h | ||
const TRotation< T, d > GetR() |
Chaos/ParticleHandle.h | ||
const TVector< T, d > & GetX() |
Chaos/ParticleHandle.h | ||
TGeometryParticleHandle< T, d > * Handle() |
Chaos/ParticleHandle.h | ||
bool IsClean() |
Chaos/ParticleHandle.h | ||
bool IsDirty () |
Chaos/ParticleHandle.h | ||
bool IsDirty
(
const EChaosPropertyFlags CheckBits |
Chaos/ParticleHandle.h | ||
virtual bool IsParticleValid() |
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 MergeGeometry
(
TArray< TUniquePtr< FImplicitObject > >&& Objects |
Chaos/ParticleHandle.h | ||
void MergeShapeInstances
(
FShapeInstanceProxyArray&& InShapes |
Overwite the last N shapes with the data from InShapes. | Chaos/ParticleHandle.h | |
void MergeShapesArray
(
FShapesArray&& InShapesArray |
Chaos/ParticleHandle.h | ||
EObjectStateType ObjectState() |
Chaos/ParticleHandle.h | ||
EParticleType ObjectType() |
Chaos/ParticleHandle.h | ||
const FParticleID & ParticleID() |
Chaos/ParticleHandle.h | ||
void PrepareBVH() |
Update the BVH in the geometry hierarchy if we have new geometry This exists so that we don't repeatedly rebuild the BVH when welding, for example, although ideally we would remove this and change the way welding works | Chaos/ParticleHandle.h | |
const TRotation< T, d > R() |
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 | ||
virtual void Serialize
(
FChaosArchive& Ar |
Chaos/ParticleHandle.h | ||
void SetEnabledDuringResim
(
bool bEnabledDuringResim |
Chaos/ParticleHandle.h | ||
void SetGeometry
(
TUniquePtr< FImplicitObject >&& UniqueGeometry |
Chaos/ParticleHandle.h | ||
void SetGeometry
(
Chaos::FImplicitObjectPtr ImplicitObjectPtr |
Todo: geometry should not be owned by particle | Chaos/ParticleHandle.h | |
void SetGeometry
(
TSerializablePtr< FImplicitObject > RawGeometry |
Chaos/ParticleHandle.h | ||
void SetGeometry
(
TSharedPtr< FImplicitObject, ESPMode::ThreadSafe > SharedGeometry |
Chaos/ParticleHandle.h | ||
void SetIgnoreAnalyticCollisions
(
bool bIgnoreAnalyticCollisions |
Chaos/ParticleHandle.h | ||
void SetIgnoreAnalyticCollisionsImp
(
FImplicitObject* Implicit, |
Chaos/ParticleHandle.h | ||
void SetNonFrequentData
(
const FParticleNonFrequentData& InData |
Chaos/ParticleHandle.h | ||
void SetParticleID
(
const FParticleID& ParticleID, |
Chaos/ParticleHandle.h | ||
void SetProxy
(
IPhysicsProxyBase* InProxy |
Chaos/ParticleHandle.h | ||
void SetR
(
const TRotation< T, d >& InR, |
Chaos/ParticleHandle.h | ||
void SetResimType
(
EResimType ResimType |
Chaos/ParticleHandle.h | ||
void SetShapeCollisionTraceType
(
int32 InShapeIndex, |
Chaos/ParticleHandle.h | ||
void SetShapeInstances
(
FShapeInstanceProxyArray&& InShapes |
Note: this must be called after setting geometry. This API seems bad. Should probably be part of setting geometry. | Chaos/ParticleHandle.h | |
void SetShapeQueryCollisionEnabled
(
int32 InShapeIndex, |
Chaos/ParticleHandle.h | ||
void SetShapeSimCollisionEnabled
(
int32 InShapeIndex, |
Chaos/ParticleHandle.h | ||
void SetShapeSimData
(
int32 InShapeIndex, |
Chaos/ParticleHandle.h | ||
void SetSpatialIdx
(
FSpatialAccelerationIdx Idx |
Chaos/ParticleHandle.h | ||
void SetUniqueIdx
(
const FUniqueIdx UniqueIdx, |
Chaos/ParticleHandle.h | ||
void SetUserData
(
void* InUserData |
Chaos/ParticleHandle.h | ||
void SetX
(
const TVector< T, d >& InX, |
Chaos/ParticleHandle.h | ||
void SetXR
(
const FParticlePositionRotation& InXR, |
Chaos/ParticleHandle.h | ||
const FShapeInstanceProxyArray & ShapeInstances() |
Chaos/ParticleHandle.h | ||
const FShapesArray & ShapesArray() |
Chaos/ParticleHandle.h | ||
TSharedPtr< const FImplicitObject, ESPMode::ThreadSafe > SharedGeometryLowLevel() |
Chaos/ParticleHandle.h | ||
FSpatialAccelerationIdx SpatialIdx() |
Chaos/ParticleHandle.h | ||
void SyncRemoteData
(
FDirtyPropertiesManager& Manager, |
Chaos/ParticleHandle.h | ||
FUniqueIdx UniqueIdx() |
Chaos/ParticleHandle.h | ||
void UpdateShapeBounds () |
Chaos/ParticleHandle.h | ||
void UpdateShapeBounds
(
const FRigidTransform3& Transform |
Chaos/ParticleHandle.h | ||
void * UserData() |
Chaos/ParticleHandle.h | ||
const TVector< T, d > & X() |
Chaos/ParticleHandle.h | ||
const FParticlePositionRotation & XR() |
Chaos/ParticleHandle.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void MarkDirty
(
const EChaosPropertyFlags DirtyBits, |
Chaos/ParticleHandle.h | ||
void MarkDirty
(
const EChaosPropertyFlags DirtyBits, |
Chaos/ParticleHandle.h | ||
void MarkDirty
(
const EChaosPropertyFlags DirtyBits, |
|||
void ModifyGeometry
(
EGeometryAccess AccessType, |
Chaos/ParticleHandle.h | ||
void ModifyGeometry
(
const Lambda& Func, |
Chaos/ParticleHandle.h | ||
void PrepareBVHImpl() |
Chaos/ParticleHandle.h | ||
virtual void SyncRemoteDataImp
(
FDirtyPropertiesManager& Manager, |
Chaos/ParticleHandle.h | ||
void UpdateShapesArray() |
Chaos/ParticleHandle.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TUniquePtr< TGeometryParticle< T, d > > CreateParticle
(
const FGeometryParticleParameters& Params |
Chaos/ParticleHandle.h | ||
static TGeometryParticle< T, d > * SerializationFactory
(
FChaosArchive& Ar, |
Chaos/ParticleHandle.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TGeometryParticle & operator=
(
const TGeometryParticle& |
Chaos/ParticleHandle.h |