Navigation
API > API/Runtime > API/Runtime/Chaos
Index abstraction for HitResults this allows regular bones and internal clusters to be represented by a unique int32 index that can be passed to HitResults and in return understood by the geometry collection physics proxy
| Name | FGeometryCollectionItemIndex |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/PhysicsProxy/GeometryCollectionPhysicsProxy.h |
| Include Path | #include "PhysicsProxy/GeometryCollectionPhysicsProxy.h" |
Syntax
struct FGeometryCollectionItemIndex
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGeometryCollectionItemIndex
(
const FGeometryCollectionItemIndex& Other |
PhysicsProxy/GeometryCollectionPhysicsProxy.h | ||
FGeometryCollectionItemIndex
(
int32 Index, |
PhysicsProxy/GeometryCollectionPhysicsProxy.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InternalClusterBaseIndex | const int32 | PhysicsProxy/GeometryCollectionPhysicsProxy.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ItemIndex | int32 | PhysicsProxy/GeometryCollectionPhysicsProxy.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetInternalClusterIndex() |
PhysicsProxy/GeometryCollectionPhysicsProxy.h | ||
int32 GetItemIndex() |
PhysicsProxy/GeometryCollectionPhysicsProxy.h | ||
int32 GetTransformIndex() |
PhysicsProxy/GeometryCollectionPhysicsProxy.h | ||
bool IsInternalCluster() |
PhysicsProxy/GeometryCollectionPhysicsProxy.h | ||
bool IsValid() |
PhysicsProxy/GeometryCollectionPhysicsProxy.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FGeometryCollectionItemIndex CreateFromExistingItemIndex
(
int32 ItemIndex |
PhysicsProxy/GeometryCollectionPhysicsProxy.h | ||
static FGeometryCollectionItemIndex CreateInternalClusterItemIndex
(
int32 ClusterUniqueIdx |
PhysicsProxy/GeometryCollectionPhysicsProxy.h | ||
static FGeometryCollectionItemIndex CreateInvalidItemIndex() |
PhysicsProxy/GeometryCollectionPhysicsProxy.h | ||
static FGeometryCollectionItemIndex CreateTransformItemIndex
(
int32 TransformIndex |
PhysicsProxy/GeometryCollectionPhysicsProxy.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FGeometryCollectionItemIndex& Other |
PhysicsProxy/GeometryCollectionPhysicsProxy.h |