Contains morph weights for a morph.
More...
#include <kanzi/core.ui/graphics3d/morph_runtime.hpp>
Contains morph weights for a morph.
kanzi::MorphRuntime::MorphRuntime |
( |
| ) |
|
|
explicitprotected |
kanzi::MorphRuntime::MorphRuntime |
( |
const Morph & |
morph | ) |
|
|
explicitprotected |
Create a morph runtime.
- Returns
- Uninitialized morph runtime.
Create a morph runtime.
- Parameters
-
morph | Morph to acquire information from when preparing then morph runtime. |
- Returns
- Initialized morph runtime.
void kanzi::MorphRuntime::initialize |
( |
const Morph & |
morph | ) |
|
Initialize morph runtime from morph.
- Parameters
-
morph | Morph to acquire information from when preparing. |
const float* kanzi::MorphRuntime::getData |
( |
| ) |
const |
|
inline |
Get float data array for morph weights.
- Returns
- Floating-point array of morph weights.
size_t kanzi::MorphRuntime::getChannelCount |
( |
| ) |
const |
|
inline |
Gets size of morph runtime.
float& kanzi::MorphRuntime::operator[] |
( |
size_t |
index | ) |
|
|
inline |
Access operator.
- Parameters
-
- Returns
- Weight at index.
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: