Module Raylib_core.Model

type t'
type t = t' ctyp
val t : t Ctypes.typ
val transform : t -> Matrix.t

Local transform matrix

val meshes : t -> Mesh.t CArray.t

Meshes array

val materials : t -> Material.t CArray.t

Materials array

val skeleton : t -> ModelSkeleton.t

Skeleton for animation

val current_pose : t -> Transform.t ptr

Current animation pose

val bone_matrices : t -> Matrix.t CArray.t

Bones animated transformation matrices

val set_transform : t -> Matrix.t -> unit
val set_meshes : t -> Mesh.t CArray.t -> unit
val set_materials : t -> Material.t CArray.t -> unit
val set_current_pose : t -> Transform.t ptr -> unit
val set_bone_matrices : t -> Matrix.t CArray.t -> unit