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

Skinning data for a Mochi mesh. More...

#include <mesh_data.h>

Public Member Functions

bool operator!= (SkinningData const &other) const =default
bool operator== (SkinningData const &other) const =default
 SkinningData ()=default
 Default constructor.
 SkinningData (SkinningDataView const &src)
 Copy from SkinningDataView.

Public Attributes

DynamicArray< int > indices
 Indices for each node. Size = numNodes * weightsPerNode.
DynamicArray< realweights
 Weights for each node. Size = numNodes * weightsPerNode.
int weightsPerNode = 0
 Number of weights and indices per node being skinned.

Detailed Description

Skinning data for a Mochi mesh.

See also
SkinningDataView

Definition at line 101 of file mesh_data.h.

Constructor & Destructor Documentation

◆ SkinningData() [1/2]

superdex::SkinningData::SkinningData ( )
default

Default constructor.

◆ SkinningData() [2/2]

superdex::SkinningData::SkinningData ( SkinningDataView const & src)
inlineexplicit

Copy from SkinningDataView.

Parameters
[in]srcSource data.

Definition at line 31 of file mesh_data_inl.h.

Member Function Documentation

◆ operator!=()

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

◆ operator==()

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

Member Data Documentation

◆ indices

DynamicArray<int> superdex::SkinningData::indices

Indices for each node. Size = numNodes * weightsPerNode.

Definition at line 112 of file mesh_data.h.

◆ weights

DynamicArray<real> superdex::SkinningData::weights

Weights for each node. Size = numNodes * weightsPerNode.

Definition at line 113 of file mesh_data.h.

◆ weightsPerNode

int superdex::SkinningData::weightsPerNode = 0

Number of weights and indices per node being skinned.

Definition at line 111 of file mesh_data.h.


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