|
| | 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.
|
| |
| | Model (const std::string &fileName) |
| |
| | Model (Model &&other) noexcept |
| |
| Model & | BlendAnimation (const ::ModelAnimation &animA, float frameA, const ::ModelAnimation &animB, float frameB, float blend) |
| | Blend two model animation poses.
|
| |
| 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 | 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 skeleton.bindPose value for the object.
|
| |
| int | GetBoneCount () const |
| | Retrieves the skeleton.boneCount value for the object.
|
| |
| ::Matrix * | GetBoneMatrices () const |
| | Retrieves the boneMatrices value for the object.
|
| |
| ::BoneInfo * | GetBones () const |
| | Retrieves the skeleton.bones value for the object.
|
| |
| BoundingBox | GetBoundingBox () const |
| | Compute model bounding box limits (considers all meshes)
|
| |
| ::ModelAnimPose | GetCurrentPose () const |
| | Retrieves the currentPose value for the object.
|
| |
| int | GetMaterialCount () const |
| | Retrieves the materialCount value for the object.
|
| |
| ::Material * | GetMaterials () const |
| | Retrieves the materials value for the object.
|
| |
| int | GetMeshCount () const |
| | Retrieves the meshCount value for the object.
|
| |
| ::Mesh * | GetMeshes () const |
| | Retrieves the meshes value for the object.
|
| |
| int * | GetMeshMaterial () const |
| | Retrieves the meshMaterial value for the object.
|
| |
| ::Matrix | GetTransform () const |
| | Retrieves the transform value for the object.
|
| |
| 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.
|
| |
| void | Load (const std::string &fileName) |
| | Loads a Model from the given file.
|
| |
| | 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 skeleton.bindPose value for the object.
|
| |
| void | SetBoneCount (int value) |
| | Sets the skeleton.boneCount value for the object.
|
| |
| void | SetBoneMatrices (::Matrix *value) |
| | Sets the boneMatrices value for the object.
|
| |
| void | SetBones (::BoneInfo *value) |
| | Sets the skeleton.bones value for the object.
|
| |
| void | SetCurrentPose (::ModelAnimPose value) |
| | Sets the currentPose value for the object.
|
| |
| void | SetMaterialCount (int value) |
| | Sets the materialCount value for the object.
|
| |
| void | SetMaterials (::Material *value) |
| | Sets the materials value for the object.
|
| |
| void | SetMeshCount (int value) |
| | Sets the meshCount value for the object.
|
| |
| void | SetMeshes (::Mesh *value) |
| | Sets the meshes value for the object.
|
| |
| void | SetMeshMaterial (int *value) |
| | Sets the meshMaterial value for the object.
|
| |
| Model & | SetMeshMaterial (int meshId, int materialId) |
| | Set material for a mesh.
|
| |
| void | SetTransform (::Matrix value) |
| | Sets the transform value for the object.
|
| |
| void | Unload () |
| | Unload model (including meshes) from memory (RAM and/or VRAM)
|
| |
| Model & | UpdateAnimation (const ::ModelAnimation &anim, float frame) |
| | Update model animation pose.
|
| |
Model type.
Definition at line 15 of file Model.hpp.