Navigation
Unreal Engine C++ API Reference > Runtime > Chaos > Chaos
Inheritance Hierarchy
- FPerShapeData
- FShapeInstance
- FShapeInstanceExtended
- FShapeInstanceProxy
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ShapeInstance.h |
Include | #include "Chaos/ShapeInstance.h" |
Syntax
class FPerShapeData
Remarks
FPerShapeData is going to be deprecated. See FShapeInstance and FShapeInstanceProxy
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
uint8: 1 | bIsSingleMaterial | |
![]() |
TSerializablePtr< FImplicitObject > | Geometry | |
![]() |
int32 | ShapeIdx | |
![]() |
EPerShapeDataType | Type | |
![]() |
TAABB< FReal, 3 > | WorldSpaceInflatedShapeBounds |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FPerShapeData
(
const EPerShapeDataType InType, |
||
![]() |
FPerShapeData
(
const EPerShapeDataType InType, |
||
![]() |
FPerShapeData
(
const EPerShapeDataType InType, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
const FShapeInstance * | Downcasts exposed until we deprecate and remove FPerShapeData. | |
![]() |
FShapeInstance * | Downcasts exposed until we deprecate and remove FPerShapeData. | |
![]() ![]() |
const Private::FShapeInstanceExtended * | ||
![]() |
Private::FShapeInstanceExtended * | ||
![]() ![]() |
const FShapeInstanceProxy * | Downcasts exposed until we deprecate and remove FPerShapeData. | |
![]() |
FShapeInstanceProxy * | Downcasts exposed until we deprecate and remove FPerShapeData. | |
![]() ![]() |
decltype(auto) | DownCast
(
const TLambda& Lambda |
Call a function on the concrete type. |
![]() |
decltype(auto) | DownCast
(
const TLambda& Lambda |
Call a function on the concrete type. |
![]() ![]() |
const FCollisionData & | ||
![]() ![]() |
EChaosCollisionTraceFlag | ||
![]() ![]() |
const FShapeDirtyFlags | ||
![]() ![]() |
TSerializablePtr< FImplicitObject > | GetGeometry () |
|
![]() ![]() |
bool | GetIsProbe () |
|
![]() ![]() |
const FImplicitObject * | The leaf shape (with transformed and implicit wrapper removed). | |
![]() ![]() |
FRigidTransform3 | The actor-relative transform of the leaf geometry. | |
![]() ![]() |
FRigidTransform3 | GetLeafWorldTransform
(
const FGeometryParticleHandle* Particle |
The world-space transform of the leaf geometry. |
![]() ![]() |
const FMaterialHandle & | GetMaterial
(
const int32 Index |
|
![]() ![]() |
const FMaterialData & | ||
![]() ![]() |
const TArray< FMaterialHandle > & | ||
![]() ![]() |
const TArray< uint32 > & | ||
![]() ![]() |
const TArray< FMaterialMaskHandle > & | ||
![]() ![]() |
const TArray< FMaterialHandle > & | GetMaterials () |
|
![]() ![]() |
const FCollisionFilterData & | GetQueryData () |
|
![]() ![]() |
bool | ||
![]() ![]() |
int32 | ||
![]() ![]() |
const FCollisionFilterData & | GetSimData () |
|
![]() ![]() |
bool | ||
![]() ![]() |
EPerShapeDataType | GetType () |
|
![]() ![]() |
void * | GetUserData () |
|
![]() ![]() |
const TAABB< FReal, 3 > & | ||
![]() |
void | ModifyMaterialMaskMapMaterials
(
const Lambda& LambdaFunc |
|
![]() |
void | ModifyMaterialMaskMaps
(
const Lambda& LambdaFunc |
|
![]() |
void | ModifyMaterialMasks
(
const Lambda& LambdaFunc |
|
![]() |
void | ModifyMaterials
(
const Lambda& LambdaFunc |
|
![]() |
void | ModifyShapeIndex
(
int32 NewShapeIndex |
|
![]() |
void | ModifySimData
(
const Lambda& LambdaFunc |
|
![]() ![]() |
int32 | NumMaterials () |
|
![]() ![]() |
FPerShapeData * | SerializationFactory
(
FChaosArchive& Ar, |
|
![]() ![]() |
void | Serialize
(
FChaosArchive& Ar |
|
![]() |
void | SerializeMaterials
(
FChaosArchive& Ar |
|
![]() |
void | SetCollisionData
(
const FCollisionData& Data |
|
![]() |
void | SetCollisionTraceType
(
const EChaosCollisionTraceFlag InTraceFlag |
|
![]() |
void | SetIsProbe
(
const bool bIsProbe |
|
![]() |
void | SetMaterial
(
FMaterialHandle InMaterial |
|
![]() |
void | SetMaterialData
(
const FMaterialData& Data |
|
![]() |
void | SetMaterialMaskMapMaterials
(
const TArray< FMaterialHandle >& InMaterialMaskMapMaterials |
|
![]() |
void | SetMaterialMaskMaps
(
const TArray< uint32 >& InMaterialMaskMaps |
|
![]() |
void | SetMaterialMasks
(
const TArray< FMaterialMaskHandle >& InMaterialMasks |
|
![]() |
void | SetMaterials
(
const TArray< FMaterialHandle >& InMaterials |
|
![]() |
void | SetMaterials
(
TArray< FMaterialHandle >&& InMaterials |
|
![]() |
void | SetProxy
(
IPhysicsProxyBase* InProxy |
|
![]() |
void | SetQueryData
(
const FCollisionFilterData& InQueryData |
|
![]() |
void | SetQueryEnabled
(
const bool bEnable |
|
![]() |
void | SetSimData
(
const FCollisionFilterData& InSimData |
|
![]() |
void | SetSimEnabled
(
const bool bEnable |
|
![]() |
void | SetUserData
(
void* InUserData |
|
![]() |
void | SyncRemoteData
(
FDirtyPropertiesManager& Manager, |
|
![]() |
void | UpdateLeafWorldTransform
(
FGeometryParticleHandle* Particle |
|
![]() |
void | UpdateShapeBounds
(
const FRigidTransform3& WorldTM, |
FPerShapeData implementation |
![]() |
void | UpdateWorldSpaceState
(
const FRigidTransform3& WorldTransform, |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
EPerShapeDataType |
Constants
Name | Description |
---|---|
AlwaysSerializable |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TUniquePtr< FPerShapeData > | CreatePerShapeData
(
int32 InShapeIdx, |
Call FShapeInstanceProxy::Make for game thread objects, FShapeInstance::Make for physics thread objects |
![]() ![]() |
bool | RequiresCachedLeafInfo
(
const FImplicitObject* Geometry |
Not used |
![]() ![]() |
void | UpdateGeometry
(
TUniquePtr< FPerShapeData >& InOutShapePtr, |
Call FShapeInstanceProxy::UpdateGeometry for game thread objects, FShapeInstance::UpdateGeometry for physics thread objects |