Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | List of all members
G3D::ArticulatedModel::SetTwoSidedCallback Class Reference

Inherits G3D::ArticulatedModel::MeshCallback.

Public Member Functions

 SetTwoSidedCallback (bool s)
 
virtual void operator() (shared_ptr< ArticulatedModel > model, ArticulatedModel::Mesh *mesh) override
 Override to implement processing of mesh. More...
 

Public Attributes

bool twoSided
 

Constructor & Destructor Documentation

◆ SetTwoSidedCallback()

G3D::ArticulatedModel::SetTwoSidedCallback::SetTwoSidedCallback ( bool  s)
inline

Member Function Documentation

◆ operator()()

virtual void G3D::ArticulatedModel::SetTwoSidedCallback::operator() ( shared_ptr< ArticulatedModel model,
ArticulatedModel::Mesh mesh 
)
overridevirtual

Override to implement processing of mesh.

The callback may not remove parts. It may remove the mesh that it is operating on, but not other meshes. The callback may add new parts or meshes, but the callback will not be invoked on those parts or meshes.

Implements G3D::ArticulatedModel::MeshCallback.

Member Data Documentation

◆ twoSided

bool G3D::ArticulatedModel::SetTwoSidedCallback::twoSided

documentation generated on Wed Nov 24 2021 08:01:53 using doxygen 1.8.15