struct RayLib::Camera2D
- RayLib::Camera2D
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
raylib/structs.crConstructors
- .new(offset : RayLib::Vector2, target : RayLib::Vector2, rotation : Float32, zoom : Float32)
- .new(pull : JSON::PullParser)
- .new(unwrap : Pointer(Binding::Camera2D))
- .new(unwrap : Binding::Camera2D)
Instance Method Summary
- #offset : Vector2
- #offset=(offset : Vector2)
- #rotation : Float32
- #rotation=(rotation : Float32)
- #target : Vector2
- #target=(target : Vector2)
- #to_unsafe
- #zoom : Float32
- #zoom=(zoom : Float32)
Constructor Detail
def self.new(offset : RayLib::Vector2, target : RayLib::Vector2, rotation : Float32, zoom : Float32)
#