Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/GeometryCollection > API/Runtime/Chaos/GeometryCollection/Facades
Inheritance Hierarchy
- FCollectionUVFacade
- FCollectionMeshFacade
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollection/Facades/CollectionMeshFacade.h |
| Include | #include "GeometryCollection/Facades/CollectionMeshFacade.h" |
Syntax
class FCollectionMeshFacade : public GeometryCollection::Facades::FCollectionUVFacade
Variables
| Type | Name | Description | |
|---|---|---|---|
| TManagedArrayAccessor< int32 > | BoneMapAttribute | ||
| TManagedArrayAccessor< FLinearColor > | ColorAttribute | ||
| TManagedArrayAccessor< int32 > | FaceCountAttribute | ||
| TManagedArrayAccessor< int32 > | FaceStartAttribute | ||
| TManagedArrayAccessor< FIntVector > | IndicesAttribute | ||
| TManagedArrayAccessor< bool > | InternalAttribute | ||
| TManagedArrayAccessor< int32 > | MaterialIDAttribute | ||
| TManagedArrayAccessor< int32 > | MaterialIndexAttribute | ||
| TManagedArrayAccessor< FVector3f > | NormalAttribute | ||
| TManagedArrayAccessor< FVector3f > | TangentUAttribute | ||
| TManagedArrayAccessor< FVector3f > | TangentVAttribute | ||
| TManagedArrayAccessor< int32 > | TransformIndexAttribute | ||
| TManagedArrayAccessor< int32 > | TransformToGeometryIndexAttribute | ||
| TManagedArrayAccessor< FVector3f > | VertexAttribute | ||
| TManagedArrayAccessor< int32 > | VertexCountAttribute | ||
| TManagedArrayAccessor< int32 > | VertexStartAttribute | ||
| TManagedArrayAccessor< bool > | VisibleAttribute |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FCollectionMeshFacade
(
FManagedArrayCollection& InCollection |
|||
FCollectionMeshFacade
(
const FManagedArrayCollection& InCollection |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BakeTransform
(
int32 TransformIdx, |
Returns the vertex indices of the face for the bone Bakes the transforms into the vertex positions and sets the bone transforms to identity | |
| void | DefineSchema () |
Add the necessary attributes if they are missing | |
| const TArray< int32 > | GetFaceIndices
(
int32 BoneIdx |
Returns the face indices for the bone | |
| const TArray< int32 > | |||
| const TArray< int32 > | GetVertexIndices
(
int32 BoneIdx |
Returns the vertex indicies for the bone | |
| const TArrayView< const FVector3f > | GetVertexPositions
(
int32 BoneIdx |
Returns the vertex positions for the bone in bone space | |
| bool | IsValid () |
Returns true if all the necessary attributes are present if not then the API can be used to create |