#include <iMeshReferenceComponent.h>
Inherits igor::iEntityComponent.
◆ iMeshReferenceComponent() [1/2]
igor::iMeshReferenceComponent::iMeshReferenceComponent |
( |
| ) |
|
◆ iMeshReferenceComponent() [2/2]
igor::iMeshReferenceComponent::iMeshReferenceComponent |
( |
iModelPtr |
model, |
|
|
const std::vector< iaString > & |
meshPaths = std::vector<iaString>() |
|
) |
| |
ctor
- Parameters
-
model | the model to refer to |
meshPaths | the paths to the meshes inside the model to refer to (ie "foo:bar:myMesh") |
◆ createInstance()
creates instance of this component type
◆ getInfo()
std::vector< iaString > igor::iMeshReferenceComponent::getInfo |
( |
| ) |
const |
|
overridevirtual |
◆ getMeshPaths()
const std::vector< iaString > & igor::iMeshReferenceComponent::getMeshPaths |
( |
| ) |
const |
◆ getModel()
iModelPtr igor::iMeshReferenceComponent::getModel |
( |
| ) |
const |
◆ getTypeName()
const iaString & igor::iMeshReferenceComponent::getTypeName |
( |
| ) |
|
|
static |
- Returns
- type name of component
◆ setMeshPaths()
void igor::iMeshReferenceComponent::setMeshPaths |
( |
const std::vector< iaString > & |
meshPaths | ) |
|
sets paths to meshes in model
- Parameters
-
meshPaths | the given mesh paths |
◆ setModel()
void igor::iMeshReferenceComponent::setModel |
( |
iModelPtr |
model | ) |
|
◆ iPrefabIO
The documentation for this class was generated from the following files: