Navigation
Unreal Engine C++ API Reference > Runtime > Chaos > Chaos
Inheritance Hierarchy
- TGeometryParticle
- TKinematicGeometryParticle
- TPBDRigidParticle
- FPBDGeometryCollectionParticle
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ISpatialAcceleration.h |
Include | #include "Chaos/ISpatialAcceleration.h" |
Syntax
template<typename T, int d>
class TGeometryParticle
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FDirtyChaosPropertyFlags | MDirtyFlags | |
![]() |
IPhysicsProxyBase * | Proxy | Pointer to any data that the solver wants to associate with this particle TODO: It's important to eventually hide this! Right now it's exposed to lubricate the creation of the whole proxy system. |
![]() |
EParticleType | Type |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
TGeometryParticle
(
const FGeometryParticleParameters& StaticParams |
||
![]() |
TGeometryParticle
(
const TGeometryParticle& |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
TPBDRigidParticle< T, d > * | ||
![]() ![]() |
const TPBDRigidParticle< T, d > * | ||
![]() |
void | ||
![]() ![]() |
TUniquePtr< TGeometryParticle< T, d > > | CreateParticle
(
const FGeometryParticleParameters& Params |
|
![]() ![]() |
const FDirtyChaosPropertyFlags & |
DirtyFlags ()
|
|
![]() ![]() |
bool | ||
![]() |
void | ForceDirty
(
EChaosPropertyFlags CheckBits |
|
![]() ![]() |
TSerializablePtr< FImplicitObject > | Geometry () |
|
![]() ![]() |
const TSharedPtr< const FImplicitObject, ESPMode::ThreadSafe > & | Ryan: FGeometryCollectionPhysicsProxy needs access to GeometrySharedLowLevel(), as it needs access for the same reason as ParticleData. | |
![]() ![]() |
IPhysicsProxyBase * | GetProxy () |
|
![]() ![]() |
TGeometryParticleHandle< T, d > * | Handle () |
|
![]() ![]() |
bool | IsClean () |
|
![]() ![]() |
bool | IsDirty
(
const EChaosPropertyFlags CheckBits |
|
![]() ![]() |
bool | IsDirty () |
|
![]() ![]() ![]() |
bool | ||
![]() |
void | MarkDirty
(
const EChaosPropertyFlags DirtyBits, |
|
![]() |
void | MarkDirty
(
const EChaosPropertyFlags DirtyBits, |
|
![]() |
void | MarkDirty
(
const EChaosPropertyFlags DirtyBits, |
|
![]() |
void | MergeGeometry
(
TArray< TUniquePtr< FImplicitObject >>&& Objects |
|
![]() |
void | MergeShapeInstances
(
FShapeInstanceProxyArray&& InShapes |
Overwite the last N shapes with the data from InShapes. |
![]() |
void | MergeShapesArray
(
FShapesArray&& OtherShapesArray |
|
![]() |
void | ModifyGeometry
(
const Lambda& Func |
|
![]() ![]() |
EObjectStateType |
ObjectState ()
|
|
![]() ![]() |
EParticleType |
ObjectType ()
|
|
![]() ![]() |
const FParticleID & | ParticleID () |
|
![]() |
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 |
![]() |
void | ||
![]() ![]() |
const TRotation< T, d > & | R () |
|
![]() |
void | RemoveShape
(
FPerShapeData* InShape, |
|
![]() ![]() |
EResimType | ResimType () |
|
![]() ![]() |
TGeometryParticle< T, d > * | SerializationFactory
(
FChaosArchive& Ar, |
|
![]() ![]() |
void | Serialize
(
FChaosArchive& Ar |
|
![]() |
void | SetEnabledDuringResim
(
bool bEnabledDuringResim |
|
![]() |
void | SetGeometry
(
TSerializablePtr< FImplicitObject > RawGeometry |
|
![]() |
void | SetGeometry
(
TSharedPtr< FImplicitObject, ESPMode::ThreadSafe > SharedGeometry |
TODO: Right now this method exists so we can do things like FPhysTestSerializer::CreateChaosData. |
![]() |
void | SetGeometry
(
TUniquePtr< FImplicitObject >&& UniqueGeometry |
Todo: geometry should not be owned by particle |
![]() |
void | SetIgnoreAnalyticCollisions
(
bool bIgnoreAnalyticCollisions |
|
![]() |
void | SetIgnoreAnalyticCollisionsImp
(
FImplicitObject* Implicit, |
|
![]() |
void | SetNonFrequentData
(
const FParticleNonFrequentData& InData |
|
![]() |
void | SetParticleID
(
const FParticleID& ParticleID, |
|
![]() |
void | SetProxy
(
IPhysicsProxyBase* InProxy |
|
![]() |
void | ||
![]() |
void | SetResimType
(
EResimType ResimType |
|
![]() |
void | SetShapeCollisionTraceType
(
int32 InShapeIndex, |
|
![]() |
void | SetShapeInstances
(
FShapeInstanceProxyArray&& InShapes |
Note: this must be called after setting geometry. This API seems bad. Should probably be part of setting geometry. |
![]() |
void | SetShapeQueryCollisionEnabled
(
int32 InShapeIndex, |
|
![]() |
void | SetShapesArray
(
FShapesArray&& InShapesArray |
Note: this must be called after setting geometry. This API seems bad. Should probably be part of setting geometry. |
![]() |
void | SetShapeSimCollisionEnabled
(
int32 InShapeIndex, |
|
![]() |
void | SetShapeSimData
(
int32 InShapeIndex, |
|
![]() |
void | SetSpatialIdx
(
FSpatialAccelerationIdx Idx |
|
![]() |
void | SetUniqueIdx
(
const FUniqueIdx UniqueIdx, |
|
![]() |
void | SetUserData
(
void* InUserData |
|
![]() |
void | ||
![]() |
void | SetXR
(
const FParticlePositionRotation& InXR, |
|
![]() ![]() |
const FShapeInstanceProxyArray & | ||
![]() ![]() |
const FShapesArray & | ShapesArray () |
|
![]() ![]() |
TSharedPtr< const FImplicitObject, ESPMode::ThreadSafe > | ||
![]() ![]() |
FSpatialAccelerationIdx | SpatialIdx () |
|
![]() ![]() |
void | SyncRemoteData
(
FDirtyPropertiesManager& Manager, |
|
![]() ![]() ![]() |
void | SyncRemoteDataImp
(
FDirtyPropertiesManager& Manager, |
|
![]() ![]() |
FUniqueIdx | UniqueIdx () |
|
![]() |
void | ||
![]() |
void | UpdateShapeBounds
(
const FRigidTransform3& Transform |
|
![]() |
void | ||
![]() ![]() |
void * | UserData () |
|
![]() ![]() |
const TVector< T, d > & | X () |
|
![]() ![]() |
const FParticlePositionRotation & | XR () |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
TGeometryParticle & | operator=
(
const TGeometryParticle& |
Typedefs
Name | Description |
---|---|
FHandle |
Constants
Name | Description |
---|---|
AlwaysSerializable |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() |
TKinematicGeometryParticle< T, d > * | Deprecated. this class is to be deleted, use FPBDGeometryCollectionParticle instead | |
![]() ![]() |
const TKinematicGeometryParticle< T, d > * | Deprecated. this class is to be deleted, use FPBDGeometryCollectionParticle instead |