Navigation
API > API/Plugins > API/Plugins/MutableRuntime > API/Plugins/MutableRuntime/MuR
Inheritance Hierarchy
- Base
- RefCounted
- ModelParametersGenerator
References
| Module | MutableRuntime |
| Header | /Engine/Plugins/Experimental/Mutable/Source/MutableRuntime/Public/MuR/Model.h |
| Include | #include "MuR/Model.h" |
Syntax
class ModelParametersGenerator : public mu::RefCounted
Remarks
This class can be used to generate all the possible instances of a model, or to generate random instances. It only takes into account discrete parameters (bools and ints) but not continuous parameters like colours and floats, which may be set to random values.
Constructors
| Type | Name | Description | |
|---|---|---|---|
ModelParametersGenerator
(
TSharedPtr< const Model >, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Forbidden. Manage with the Ptr<> template. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| ParametersPtr | GetInstance
(
int64 index, |
Return the parameters of one of the possible instances of the model. | |
| int64 | Return the number of different possible instances that can be built from the model. | ||
| Private * | GetPrivate () |
||
| ParametersPtr | GetRandomInstance
(
TFunctionRef< float()> RandomGenerator |
Return the parameters of one of a random instance of the model. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| Private |