Contains morph weights for a morph.
More...
#include <kanzi/core.ui/graphics3d/morph_runtime.hpp>
Contains morph weights for a morph.
◆ MorphRuntime() [1/2]
kanzi::MorphRuntime::MorphRuntime |
( |
| ) |
|
|
explicitprotected |
◆ MorphRuntime() [2/2]
kanzi::MorphRuntime::MorphRuntime |
( |
const Morph & |
morph | ) |
|
|
explicitprotected |
◆ create() [1/2]
Create a morph runtime.
- Returns
- Uninitialized morph runtime.
◆ create() [2/2]
Create a morph runtime.
- Parameters
-
morph | Morph to acquire information from when preparing then morph runtime. |
- Returns
- Initialized morph runtime.
◆ initialize()
void kanzi::MorphRuntime::initialize |
( |
const Morph & |
morph | ) |
|
Initialize morph runtime from morph.
- Parameters
-
morph | Morph to acquire information from when preparing. |
◆ getData()
const float* kanzi::MorphRuntime::getData |
( |
| ) |
const |
|
inline |
Get float data array for morph weights.
- Returns
- Floating-point array of morph weights.
◆ getChannelCount()
size_t kanzi::MorphRuntime::getChannelCount |
( |
| ) |
const |
|
inline |
Gets size of morph runtime.
◆ operator[]() [1/2]
float& kanzi::MorphRuntime::operator[] |
( |
size_t |
index | ) |
|
|
inline |
Access operator.
- Parameters
-
- Returns
- Weight at index.
◆ operator[]() [2/2]
const float& kanzi::MorphRuntime::operator[] |
( |
size_t |
index | ) |
const |
|
inline |
Const access operator.
- Parameters
-
- Returns
- Weight at index.
The documentation for this class was generated from the following file: