Holds static mesh instatiators. More...
#include <StaticMeshCollection.h>
Public Member Functions | |
AStaticMeshCollection (const FObjectInitializer &ObjectInitializer) | |
Protected Member Functions | |
void | AddInstance (uint32 i, const FTransform &Transform) |
void | ClearInstances () |
void | ClearInstantiators () |
Clear the instances too. More... | |
uint32 | GetNumberOfInstantiators () const |
void | PushBackInstantiator (UStaticMesh *Mesh) |
void | SetStaticMesh (uint32 i, UStaticMesh *Mesh) |
Private Attributes | |
TArray< UInstancedStaticMeshComponent * > | MeshInstantiators |
Holds static mesh instatiators.
Definition at line 16 of file StaticMeshCollection.h.
AStaticMeshCollection::AStaticMeshCollection | ( | const FObjectInitializer & | ObjectInitializer | ) |
Definition at line 13 of file StaticMeshCollection.cpp.
|
protected |
Definition at line 41 of file StaticMeshCollection.cpp.
References GetNumberOfInstantiators(), and MeshInstantiators.
|
protected |
Definition at line 48 of file StaticMeshCollection.cpp.
References MeshInstantiators.
Referenced by ClearInstantiators().
|
protected |
Clear the instances too.
Definition at line 57 of file StaticMeshCollection.cpp.
References ClearInstances(), and MeshInstantiators.
|
inlineprotected |
Definition at line 26 of file StaticMeshCollection.h.
Referenced by AddInstance(), and SetStaticMesh().
|
protected |
Definition at line 23 of file StaticMeshCollection.cpp.
References MeshInstantiators.
|
protected |
Definition at line 34 of file StaticMeshCollection.cpp.
References GetNumberOfInstantiators(), and MeshInstantiators.
|
private |
Definition at line 45 of file StaticMeshCollection.h.
Referenced by AddInstance(), ClearInstances(), ClearInstantiators(), PushBackInstantiator(), and SetStaticMesh().