struct RayLib::Camera2D

Included Modules

Defined in:

raylib/structs.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(offset : RayLib::Vector2, target : RayLib::Vector2, rotation : Float32, zoom : Float32) #

[View source]
def self.new(pull : JSON::PullParser) #

def self.new(unwrap : Pointer(Binding::Camera2D)) #

[View source]
def self.new(unwrap : Binding::Camera2D) #

[View source]

Instance Method Detail

def offset : Vector2 #

[View source]
def offset=(offset : Vector2) #

[View source]
def rotation : Float32 #

[View source]
def rotation=(rotation : Float32) #

[View source]
def target : Vector2 #

[View source]
def target=(target : Vector2) #

[View source]
def to_unsafe #

[View source]
def zoom : Float32 #

[View source]
def zoom=(zoom : Float32) #

[View source]