|
| Model (const ::Mesh &mesh) |
|
| Model (const ::Model &model) |
|
| Model (const Model &)=delete |
|
| Model (const raylib::Mesh &mesh)=delete |
| The Model constructor with a Mesh() is removed. More...
|
|
| Model (const std::string &fileName) |
|
| Model (Model &&other) |
|
void | Draw (::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255}) const |
| Draw a model with extended parameters.
|
|
void | Draw (::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const |
| Draw a model (with texture if set)
|
|
void | DrawPoints (::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255}) |
| Draw a model as points.
|
|
void | DrawPoints (::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) |
| Draw a model as points.
|
|
void | DrawWires (::Vector3 position, ::Vector3 rotationAxis, float rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255}) const |
| Draw a model wires (with texture if set) with extended parameters.
|
|
void | DrawWires (::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const |
| Draw a model wires (with texture if set)
|
|
::Transform * | GetBindPose () const |
| Retrieves the bindPose value for the object. More...
|
|
int | GetBoneCount () const |
| Retrieves the boneCount value for the object. More...
|
|
::BoneInfo * | GetBones () const |
| Retrieves the bones value for the object. More...
|
|
BoundingBox | GetBoundingBox () const |
| Compute model bounding box limits (considers all meshes)
|
|
int | GetMaterialCount () const |
| Retrieves the materialCount value for the object. More...
|
|
::Material * | GetMaterials () const |
| Retrieves the materials value for the object. More...
|
|
int | GetMeshCount () const |
| Retrieves the meshCount value for the object. More...
|
|
::Mesh * | GetMeshes () const |
| Retrieves the meshes value for the object. More...
|
|
int * | GetMeshMaterial () const |
| Retrieves the meshMaterial value for the object. More...
|
|
::Matrix | GetTransform () const |
| Retrieves the transform value for the object. More...
|
|
bool | IsModelAnimationValid (const ::ModelAnimation &anim) const |
| Check model animation skeleton match.
|
|
bool | IsValid () const |
| Determines whether or not the Model has data in it.
|
|
void | Load (const ::Mesh &mesh) |
| Loads a Model from the given Mesh. More...
|
|
void | Load (const std::string &fileName) |
| Loads a Model from the given file. More...
|
|
| operator BoundingBox () const |
| Compute model bounding box limits (considers all meshes)
|
|
Model & | operator= (const ::Model &model) |
|
Model & | operator= (const Model &)=delete |
|
Model & | operator= (Model &&other) noexcept |
|
void | SetBindPose (::Transform *value) |
| Sets the bindPose value for the object. More...
|
|
void | SetBoneCount (int value) |
| Sets the boneCount value for the object. More...
|
|
void | SetBones (::BoneInfo *value) |
| Sets the bones value for the object. More...
|
|
void | SetMaterialCount (int value) |
| Sets the materialCount value for the object. More...
|
|
void | SetMaterials (::Material *value) |
| Sets the materials value for the object. More...
|
|
void | SetMeshCount (int value) |
| Sets the meshCount value for the object. More...
|
|
void | SetMeshes (::Mesh *value) |
| Sets the meshes value for the object. More...
|
|
void | SetMeshMaterial (int *value) |
| Sets the meshMaterial value for the object. More...
|
|
Model & | SetMeshMaterial (int meshId, int materialId) |
| Set material for a mesh.
|
|
void | SetTransform (::Matrix value) |
| Sets the transform value for the object. More...
|
|
void | Unload () |
| Unload model (including meshes) from memory (RAM and/or VRAM)
|
|
Model & | UpdateAnimation (const ::ModelAnimation &anim, int frame) |
| Update model animation pose.
|
|
Model & | UpdateAnimationBones (const ::ModelAnimation &anim, int frame) |
| Update model animation pose.
|
|
Model type.
Definition at line 15 of file Model.hpp.