struct RayLib::Mesh
- RayLib::Mesh
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
raylib/structs.crConstructors
- .new(vertex_count : Int32, triangle_count : Int32, vertices : Float32, texcoords : Float32, texcoords2 : Float32, normals : Float32, tangents : Float32, colors : UInt8, indices : UInt16, anim_vertices : Float32, anim_normals : Float32, bone_ids : Int32, bone_weights : Float32, vao_id : UInt32, vbo_id : StaticArray(UInt32, 7))
- .new(pull : JSON::PullParser)
- .new(unwrap : Pointer(Binding::Mesh))
- .new(unwrap : Binding::Mesh)
Instance Method Summary
- #anim_normals : Float32
- #anim_normals=(anim_normals : Float32)
- #anim_vertices : Float32
- #anim_vertices=(anim_vertices : Float32)
- #bone_ids : Int32
- #bone_ids=(bone_ids : Int32)
- #bone_weights : Float32
- #bone_weights=(bone_weights : Float32)
- #colors : UInt8
- #colors=(colors : UInt8)
- #indices : UInt16
- #indices=(indices : UInt16)
- #normals : Float32
- #normals=(normals : Float32)
- #tangents : Float32
- #tangents=(tangents : Float32)
- #texcoords : Float32
- #texcoords2 : Float32
- #texcoords2=(texcoords2 : Float32)
- #texcoords=(texcoords : Float32)
- #to_unsafe
- #triangle_count : Int32
- #triangle_count=(triangle_count : Int32)
- #vao_id : LibC::UInt
- #vao_id=(vao_id : LibC::UInt)
- #vbo_id : StaticArray(LibC::UInt, 7)
- #vbo_id=(vbo_id : StaticArray(LibC::UInt, 7))
- #vertex_count : Int32
- #vertex_count=(vertex_count : Int32)
- #vertices : Float32
- #vertices=(vertices : Float32)
Constructor Detail
def self.new(vertex_count : Int32, triangle_count : Int32, vertices : Float32, texcoords : Float32, texcoords2 : Float32, normals : Float32, tangents : Float32, colors : UInt8, indices : UInt16, anim_vertices : Float32, anim_normals : Float32, bone_ids : Int32, bone_weights : Float32, vao_id : UInt32, vbo_id : StaticArray(UInt32, 7))
#