SuperDex Physics C++ API
Loading...
Searching...
No Matches
superdex::BlendingData Struct Reference

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
 Indices for blending. Size = numNodes * 2.
DynamicString sourceShape
 Name of the soft source shape.
DynamicArray< realweights
 Weights for blending Size = numNodes * 2.

Detailed Description

Blending data for one source shape within a soft skinned mesh.

See also
BlendingDataView

Definition at line 44 of file mesh_data.h.

Constructor & Destructor Documentation

◆ BlendingData() [1/2]

superdex::BlendingData::BlendingData ( )
default

Default constructor.

◆ BlendingData() [2/2]

superdex::BlendingData::BlendingData ( BlendingDataView const & src)
inlineexplicit

Copy from BlendingDataView.

Parameters
[in]srcSource data.

Definition at line 25 of file mesh_data_inl.h.

Member Function Documentation

◆ operator!=()

bool superdex::BlendingData::operator!= ( BlendingData const & other) const
default

◆ operator==()

bool superdex::BlendingData::operator== ( BlendingData const & other) const
default

Member Data Documentation

◆ indices

DynamicArray<int> superdex::BlendingData::indices

Indices for blending. Size = numNodes * 2.

Definition at line 55 of file mesh_data.h.

◆ sourceShape

DynamicString superdex::BlendingData::sourceShape

Name of the soft source shape.

Definition at line 54 of file mesh_data.h.

◆ weights

DynamicArray<real> superdex::BlendingData::weights

Weights for blending Size = numNodes * 2.

Definition at line 56 of file mesh_data.h.


The documentation for this struct was generated from the following files: