Navigation
API > API/Plugins > API/Plugins/MutableRuntime > API/Plugins/MutableRuntime/MuR
References
| Module | MutableRuntime |
| Header | /Engine/Plugins/Experimental/Mutable/Source/MutableRuntime/Public/MuR/Model.h |
| Include | #include "MuR/Model.h" |
Syntax
class Model
Remarks
When values are given to the parameters, specific Instances can be built, which hold the built application-usable data.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Model () |
Life cycle. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~Model () |
Don't call directly. Manage with a TSharedPtr. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int | FindState
(
const char* strName |
Find a state index by state name. | |
| bool | GetBoolDefaultValue
(
int32 Index |
Return the default value of a boolean parameter. The parameter specified by index is a T_BOOL. | |
| void | GetColourDefaultValue
(
int32 Index, |
Return the default value of a colour parameter. The parameter specified by index is a T_FLOAT. | |
| float | GetFloatDefaultValue
(
int32 Index |
Return the default value of a float parameter. The parameter specified by index is a T_FLOAT. | |
| FName | GetImageDefaultValue
(
int32 Index |
Return the default value of an image parameter. The parameter specified by index is a T_IMAGE. | |
| int32 | GetIntDefaultValue
(
int32 Index |
Return the default value of a integer parameter. The parameter specified by index is a T_INT. | |
| Private * | GetPrivate () |
||
| void | GetProjectorDefaultValue
(
int32 Index, |
Return the default value of a projector parameter, as a 4x4 matrix. | |
| int32 | GetRomCount () |
||
| uint32 | GetRomId
(
int32 Index |
||
| uint32 | GetRomSize
(
int32 Index |
||
| int | Get the number of states in the model. | ||
| const char * | GetStateName
(
int stateIndex |
Get a state name by state index from 0 to GetStateCount-1. | |
| int | GetStateParameterCount
(
int stateIndex |
Get the number of parameters available in a particular state. | |
| int | GetStateParameterIndex
(
int stateIndex, |
Get the index of one of the parameters in the given state. | |
| bool | Return true if the model has external data in other files. | ||
| bool | IsParameterMultidimensional
(
int32 ParameterIndex |
Return true if the parameter is multi-dimensional | |
| ParametersPtr | NewParameters
(
TSharedPtr< const Model > Model, |
Create a set of new parameters of the model with the default values. | |
| void | Serialise
(
const Model* p, |
||
| void | Serialise
(
Model* p, |
Special serialise operation that serialises the data in separate "files". | |
| TSharedPtr< Model > | StaticUnserialise
(
InputArchive& arch |
||
| void | Free memory used by streaming data that may be loaded again when needed. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| Private |