Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/GeometryCollection > API/Runtime/Chaos/GeometryCollection/FGeometryCollection > API/Runtime/Chaos/GeometryCollection/FGeometryCollection/NewGeometryCollection
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollection/GeometryCollection.h |
| Include | #include "GeometryCollection/GeometryCollection.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/GeometryCollection/GeometryCollection.cpp |
static FGeometryCollection * NewGeometryCollection
(
const TArray < float > & RawVertexArray,
const TArray < int32 > & RawIndicesArray,
const TArray < int32 > & RawBoneMapArray,
const TArray < FTransform > & RawTransformArray,
const TManagedArray < int32 > & RawLevelArray,
const TManagedArray < int32 > & RawParentArray,
const TManagedArray < TSet < int32 > > & RawChildrenArray,
const TManagedArray < int32 > & RawSimulationTypeArray,
const TManagedArray < int32 > & RawStatusFlagsArray,
FGeometryCollectionDefaults InDefaults
)
Remarks
Create a GeometryCollection from Vertex, Indices, BoneMap, Transform, BoneHierarchy arrays