|
| | 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_view fileName) |
| |
| | Model (Model &&other) noexcept |
| |
| void | Draw (::Vector3 position, ::Vector3 rotationAxis, Degree rotationAngle=0.0f, ::Vector3 scale={1.0f, 1.0f, 1.0f}, ::Color tint={255, 255, 255, 255}) const |
| | Draw a model with extended parameters. More...
|
| |
| void | Draw (::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const |
| | Draw a model (with texture if set) More...
|
| |
| void | DrawPoints (::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) |
| | Draw a model as points. More...
|
| |
| void | DrawWires (::Vector3 position, ::Vector3 rotationAxis, Degree 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. More...
|
| |
| void | DrawWires (::Vector3 position, float scale=1.0f, ::Color tint={255, 255, 255, 255}) const |
| | Draw a model wires (with texture if set) More...
|
| |
| ::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) More...
|
| |
| 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...
|
| |
| BoundingBox | GetTransformedBoundingBox () const |
| | Compute model bounding box limits with respect to the Model's transformation (considers all meshes) This function is pretty expensive! More...
|
| |
| bool | IsModelAnimationValid (const ::ModelAnimation &anim) const |
| | Check model animation skeleton match. More...
|
| |
| bool | IsValid () const |
| | Determines whether or not the Model has data in it. More...
|
| |
| void | Load (const ::Mesh &mesh) |
| | Loads a Model from the given Mesh. More...
|
| |
| void | Load (const std::string_view fileName) |
| | Loads a Model from the given file. More...
|
| |
| | operator BoundingBox () const |
| | Compute model bounding box limits (considers all meshes) More...
|
| |
| 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. More...
|
| |
| void | SetTransform (::Matrix value) |
| | Sets the transform value for the object. More...
|
| |
| void | Unload () |
| | Unload model (including meshes) from memory (RAM and/or VRAM) More...
|
| |
| Model & | UpdateAnimation (const ::ModelAnimation &anim, int frame) |
| | Update model animation pose. More...
|
| |
| Model & | UpdateAnimationBones (const ::ModelAnimation &anim, int frame) |
| | Update model animation pose. More...
|
| |
Model type.
Definition at line 21 of file Model.hpp.