![]() |
Maria GDK 5.0.0.738
Documentation of native code in develop branch
|
#include <StkMeshCollisionObject.h>
Classes | |
struct | MeshGroup |
Public Member Functions | |
MeshCollisionObject (std::shared_ptr< MeshGraphicsModel > model) | |
const std::vector< float > & | getVertices () const |
![]() | |
btCollisionObject * | collisionObject () const |
Protected Member Functions | |
std::shared_ptr< MeshGroup > | getMeshGroup (int id) |
void | addTriangle (const IndexTriangle &t, const Matrix4x4f &m, std::shared_ptr< const VertexBuffer > vertex_buffer) |
void | processMeshNode (const Matrix4x4f &parent_xfm, std::shared_ptr< MeshNode > mesh_node) |
btCollisionShape * | createCollisionShape () |
Protected Attributes | |
std::shared_ptr< STK::MeshGraphicsModel > | _model |
std::map< int, std::shared_ptr< MeshGroup > > | _meshGroups |
std::vector< float > | vertices_ |
std::vector< unsigned int > | indexes_ |
![]() | |
btCollisionObject * | _collisionObject = nullptr |
MeshCollisionObject - Generates a mesh collision object from a MeshGraphicsModel.
This class also supports a GraphicsModelInstance of a MeshGraphicsModel.