Kanzi 4.0.0-beta2
kanzi::Mesh::MorphData::MorphShape Class Reference

Morph shape. More...

#include <kanzi/core.ui/graphics3d/mesh.hpp>

Public Member Functions

const string & getName () const
 Gets the shape name.
 
float getWeight () const
 Gets the shape weight.
 
 MorphShape ()=default
 Default constructor.
 
 MorphShape (string_view name, float weight)
 Constructor.
 

Protected Attributes

string m_name
 Shape name.
 
float m_weight
 Shape weight.
 

Detailed Description

Morph shape.

Constructor & Destructor Documentation

◆ MorphShape() [1/2]

kanzi::Mesh::MorphData::MorphShape::MorphShape ( )
explicitdefault

Default constructor.

◆ MorphShape() [2/2]

kanzi::Mesh::MorphData::MorphShape::MorphShape ( string_view name,
float weight )
inlineexplicit

Constructor.

Parameters
nameShape name.
weightShape weight.

Member Function Documentation

◆ getName()

const string & kanzi::Mesh::MorphData::MorphShape::getName ( ) const
inline

Gets the shape name.

Returns
Shape name.

◆ getWeight()

float kanzi::Mesh::MorphData::MorphShape::getWeight ( ) const
inline

Gets the shape weight.

Returns
Shape weight.

Member Data Documentation

◆ m_name

string kanzi::Mesh::MorphData::MorphShape::m_name
protected

Shape name.

◆ m_weight

float kanzi::Mesh::MorphData::MorphShape::m_weight
protected

Shape weight.


The documentation for this class was generated from the following file: