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

A non-owning view of the data blending data for one source shape within a soft skinned mesh. More...

#include <mesh_data.h>

Public Member Functions

 BlendingDataView ()=default
 BlendingDataView (BlendingData const &src)
 Implicit conversion from BlendingData.
bool operator!= (BlendingDataView const &other) const =default
bool operator== (BlendingDataView const &other) const =default

Public Attributes

Span< int const > indices
 Indices for blending. Size = numNodes * 2.
std::string_view sourceShape
 Name of the soft source shape.
Span< real const > weights
 Weights for blending Size = numNodes * 2.

Detailed Description

A non-owning view of the data blending data for one source shape within a soft skinned mesh.

See also
BlendingData

Definition at line 76 of file mesh_data.h.

Constructor & Destructor Documentation

◆ BlendingDataView() [1/2]

superdex::BlendingDataView::BlendingDataView ( )
default

◆ BlendingDataView() [2/2]

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

Implicit conversion from BlendingData.

Parameters
[in]srcSource data.

Definition at line 22 of file mesh_data_inl.h.

Member Function Documentation

◆ operator!=()

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

◆ operator==()

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

Member Data Documentation

◆ indices

Span<int const> superdex::BlendingDataView::indices

Indices for blending. Size = numNodes * 2.

Definition at line 87 of file mesh_data.h.

◆ sourceShape

std::string_view superdex::BlendingDataView::sourceShape

Name of the soft source shape.

Definition at line 86 of file mesh_data.h.

◆ weights

Span<real const> superdex::BlendingDataView::weights

Weights for blending Size = numNodes * 2.

Definition at line 88 of file mesh_data.h.


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