9 #include "GameFramework/Actor.h" 10 #include "StaticMeshCollection.generated.h" 12 class UInstancedStaticMeshComponent;
28 return MeshInstantiators.Num();
31 void PushBackInstantiator(UStaticMesh *Mesh);
33 void SetStaticMesh(uint32 i, UStaticMesh *Mesh);
35 void AddInstance(uint32 i,
const FTransform &
Transform);
37 void ClearInstances();
40 void ClearInstantiators();
44 UPROPERTY(Category =
"Instanced Static Mesh Collection", VisibleAnywhere)
45 TArray<UInstancedStaticMeshComponent *> MeshInstantiators;
uint32 GetNumberOfInstantiators() const
Holds static mesh instatiators.
geom::Transform Transform