Skip to main content

Camera

struct Camera {
// from native code
}

Fields

Methods

screen_to_world

fn screen_to_world(self, screen_coords: Vec2) -> Vec2

position

fn position(self) -> Vec3

set_position

fn set_position(self, position: Vec3)

screen_to_world_distance

fn screen_to_world_distance(self, distance: f32) -> f32