|
Raylib C++
1.0.0
Encapsulates the raylib library
|
Helper class for drawing models and meshes. More...
#include <DrawModelHelper.hpp>

Static Public Member Functions | |
| static void | drawMesh (const raylib::model::RlMesh &mesh, const raylib::model::RlMaterial &material, const Matrix &transform) |
| Draw a 3d mesh with material and transform. More... | |
| static void | drawMeshInstanced (const raylib::model::RlMesh &mesh, const raylib::model::RlMaterial &material, std::vector< Matrix > &transforms) |
| Draw multiple mesh instances with material and different transforms. More... | |
| static void | drawModel (const raylib::model::RlModel &model) |
| Draw a 3d model. More... | |
| static void | drawModel (const raylib::model::RlModel &model, const Vector3f &position, const float &scale, const RlColor &tint) |
| Draw a model (with texture if set) More... | |
| static void | drawModel (const raylib::model::RlModel &model, const Vector3f &position, const Vector3f &rotationAxis, const float &rotationAngle, const Vector3f &scale, const RlColor &tint) |
| Draw a model with extended parameters. More... | |
| static void | drawModelWires (const raylib::model::RlModel &model) |
| Draw a model with extended parameters. More... | |
| static void | drawModelWires (const raylib::model::RlModel &model, const Vector3f &position, const float &scale, const RlColor &tint) |
| Draw a model wires (with texture if set) More... | |
| static void | drawModelWires (const raylib::model::RlModel &model, const Vector3f &position, const Vector3f &rotationAxis, const float &rotationAngle, const Vector3f &scale, const RlColor &tint) |
| Draw a model wires (with texture if set) with extended parameters. More... | |
Helper class for drawing models and meshes.
|
static |
Draw a 3d mesh with material and transform.
| mesh | Mesh to draw |
| material | Material to use |
| transform | Transform to use |

|
static |
Draw multiple mesh instances with material and different transforms.
| mesh | Mesh to draw |
| material | Material to use |
| transforms | Transforms to use (not modified through this function) |

|
static |
Draw a 3d model.
| model | the model to draw |


|
static |
Draw a model (with texture if set)
| model | the model to draw |
| position | the position to draw the model |
| scale | the scale to draw the model |
| tint | the tint to draw the model |
|
static |
Draw a model with extended parameters.
| model | the model to draw |
| position | the position to draw the model |
| rotationAxis | the axis to rotate the model around |
| rotationAngle | the angle to rotate the model around |
| scale | the scale to draw the model |
| tint | the tint to draw the model |

|
static |
Draw a model with extended parameters.
| model | the model to draw |

|
static |
Draw a model wires (with texture if set)
| model | the model to draw |
| position | the position to draw the model |
| scale | the scale to draw the model |
| tint | the tint to draw the model |

|
static |
Draw a model wires (with texture if set) with extended parameters.
| model | the model to draw |
| position | the position to draw the model |
| rotationAxis | the axis to rotate the model around |
| rotationAngle | the angle to rotate the model around |
| scale | the scale to draw the model |
| tint | the tint to draw the model |

1.8.17