Navigation
API > API/Plugins > API/Plugins/MutableRuntime > API/Plugins/MutableRuntime/MuR
Inheritance Hierarchy
- Base
- RefCounted
- Resource
- Instance
References
| Module | MutableRuntime |
| Header | /Engine/Plugins/Experimental/Mutable/Source/MutableRuntime/Public/MuR/Instance.h |
| Include | #include "MuR/Instance.h" |
Syntax
class Instance : public mu::Resource
Remarks
It corresponds to an "engine object" but the contents of its data depends on the Model, and it may contain any number of LODs, components, surfaces, meshes and images, even none.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Instance () |
Life cycle. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~Instance () |
Forbidden. Manage with the Ptr<> template. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| InstancePtr | Clone () |
Clone this instance. | |
| void | FindBaseSurfaceBySharedId
(
int32 CompIndex, |
Find the base surface index and Lod index when reusing surfaces between LODs. | |
| int32 | FindSurfaceById
(
int32 lod, |
Find a surface index from the internal id (as returned by GetSurfaceId). | |
| int32 | GetComponentCount
(
int32 lod |
Get the number of components in a level-of-detail | |
| uint16 | GetComponentId
(
int32 lod, |
Get the Id of a component | |
| const char * | GetComponentName
(
int32 lod, |
Get the name of a component | |
| void | GetExtensionData
(
int32 Index, |
Get an ExtensionData value from a component | |
| int32 | Get the number of ExtensionData values in a component. | ||
| Instance::ID | GetId () |
Get a unique identifier for this instance. | |
| int32 | GetImageCount
(
int32 lod, |
Get the number of images in a component | |
| FResourceID | GetImageId
(
int32 lod, |
Get an image resource id from a component | |
| const char * | GetImageName
(
int32 lod, |
Get the name of an image in a component | |
| int32 | GetLODCount () |
Get the number of levels-of-detail of this instance. | |
| int32 | GetMeshCount
(
int32 lod, |
Get the number of meshes in a surface | |
| FResourceID | GetMeshId
(
int32 lod, |
Get a mesh resource id from a component | |
| Private * | GetPrivate () |
||
| float | GetScalar
(
int32 lod, |
Get a scalar value from a component | |
| int32 | GetScalarCount
(
int32 lod, |
Get the number of scalar values in a component | |
| const char * | GetScalarName
(
int32 lod, |
Get the name of a scalar from a component | |
| int32 | GetSharedSurfaceId
(
int32 lod, |
Get an id that can be used to find the same surface on other LODs | |
| const char * | GetString
(
int32 lod, |
Get a string value from a component | |
| int32 | GetStringCount
(
int32 lod, |
Get the number of string values in a component | |
| const char * | GetStringName
(
int32 lod, |
Get the name of a string from a component | |
| int32 | GetSurfaceCount
(
int32 lod, |
Get the number of surfaces in a component | |
| uint32 | GetSurfaceCustomId
(
int32 lod, |
Get an optional, opaque application-defined identifier for this surface. | |
| uint32 | GetSurfaceId
(
int32 lod, |
Get an id that can be used to match the surface data with the mesh surface data. | |
| const char * | GetSurfaceName
(
int32 lod, |
Get the name of a surface | |
| FVector4f | GetVector
(
int32 lod, |
Get a vector from a component | |
| int32 | GetVectorCount
(
int32 lod, |
Get the number of vectors in a component | |
| const char * | GetVectorName
(
int32 lod, |
Get the name of a vector in a component |
Overridden from Resource
| Type | Name | Description | |
|---|---|---|---|
| int32 | GetDataSize () |
Return the size in bytes of all the LODs of the image. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| Private |
Typedefs
| Name | Description |
|---|---|
| ID | Type for the instance unique identifiers. |