struct RayLib::Model
- RayLib::Model
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
raylib/structs.crConstructors
- .new(transform : RayLib::Matrix, mesh_count : Int32, meshes : RayLib::Mesh, material_count : Int32, materials : RayLib::Material, mesh_material : Int32, bone_count : Int32, bones : RayLib::BoneInfo, bind_pose : RayLib::Transform)
- .new(pull : JSON::PullParser)
- .new(unwrap : Pointer(Binding::Model))
- .new(unwrap : Binding::Model)
Instance Method Summary
- #bind_pose : Transform
- #bind_pose=(bind_pose : Transform)
- #bone_count : Int32
- #bone_count=(bone_count : Int32)
- #bones : BoneInfo
- #bones=(bones : BoneInfo)
- #material_count : Int32
- #material_count=(material_count : Int32)
- #materials : Material
- #materials=(materials : Material)
- #mesh_count : Int32
- #mesh_count=(mesh_count : Int32)
- #mesh_material : Int32
- #mesh_material=(mesh_material : Int32)
- #meshes : Mesh
- #meshes=(meshes : Mesh)
- #to_unsafe
- #transform : Matrix
- #transform=(transform : Matrix)
Constructor Detail
def self.new(transform : RayLib::Matrix, mesh_count : Int32, meshes : RayLib::Mesh, material_count : Int32, materials : RayLib::Material, mesh_material : Int32, bone_count : Int32, bones : RayLib::BoneInfo, bind_pose : RayLib::Transform)
#