class Game::Model
- Game::Model
- Reference
- Object
Defined in:
game/model.crConstructors
Class Method Summary
Instance Method Summary
- #draw
- #position : Vector3
- #position=(position : Vector3)
- #rotate_x(degrees : Int32 | Float32)
- #rotate_y(degrees : Int32 | Float32)
- #rotate_z(degrees : Int32 | Float32)
- #scale(v : Vector3)
- #scale : Int32 | Float32
- #scale=(scale : Int32 | Float32)
- #set_mesh_material(mesh_id)
- #set_texture(texture)
- #tint : Color
- #tint=(tint : Color)
- #to_struct : LibRay::Model
- #transform=(transform : Matrix)
- #translate(v : Vector3)
Constructor Detail
def self.new(model : LibRay::Model = LibRay::Model.new, position : ::Game::Vector3 = Vector3.new, scale : Float32 | Int32 = 1, tint : ::Game::Color = Color::White)
#