class Glove::Components::Texture
- Glove::Components::Texture
- Glove::Component
- Reference
- Object
Defined in:
components/texture.crConstructors
Class Method Summary
Instance Method Summary
- #height : Float32
- #offset_x : Float32
- #offset_y : Float32
- #path=(path : String)
- #quad
- #texture
- #width : Float32
Instance methods inherited from class Glove::Component
update(entity, delta_time, space, app)
update
Constructor Detail
def self.new(path : String, width : Float32 = 1_f32, height : Float32 = 1_f32, offset_x : Float32 = 0_f32, offset_y : Float32 = 0_f32)
#