|
SuperDex Physics C++ API
|
Blending data for one source shape within a soft skinned mesh. More...
#include <mesh_data.h>
Public Member Functions | |
| BlendingData ()=default | |
| Default constructor. | |
| BlendingData (BlendingDataView const &src) | |
| Copy from BlendingDataView. | |
| bool | operator!= (BlendingData const &other) const =default |
| bool | operator== (BlendingData const &other) const =default |
Public Attributes | |
| DynamicArray< int > | indices |
| Nested-soft source vertex indices for each target vertex. | |
| DynamicString | sourceShape |
| Name of the soft source shape. | |
| DynamicArray< real > | weights |
| Nested-soft blend weights for each target vertex. | |
Blending data for one source shape within a soft skinned mesh.
Definition at line 44 of file mesh_data.h.
|
default |
Default constructor.
|
inlineexplicit |
Copy from BlendingDataView.
| [in] | src | Source data. |
Definition at line 25 of file mesh_data_inl.h.
|
default |
|
default |
| DynamicArray<int> superdex::BlendingData::indices |
Nested-soft source vertex indices for each target vertex.
Entry i identifies the vertex in the nested soft shape for target vertex i. The index is ignored when weights[i] is zero. The size equals the number of target vertices.
Definition at line 63 of file mesh_data.h.
| DynamicString superdex::BlendingData::sourceShape |
Name of the soft source shape.
Definition at line 56 of file mesh_data.h.
| DynamicArray<real> superdex::BlendingData::weights |
Nested-soft blend weights for each target vertex.
Entry i is in [0, 1], where zero is purely articulated and one is fully nested-soft. The size equals the number of target vertices.
Definition at line 70 of file mesh_data.h.