Type Alias rust_raylib::ffi::Camera
source · pub type Camera = Camera3D;Expand description
Camera type fallback, defaults to Camera3D
Aliased Type§
struct Camera {
pub position: Vector3,
pub target: Vector3,
pub up: Vector3,
pub fovy: f32,
pub projection: i32,
}Fields§
§position: Vector3Camera position
target: Vector3Camera target it looks-at
up: Vector3Camera up vector (rotation over its axis)
fovy: f32Camera field-of-view aperture in Y (degrees) in perspective, used as near plane width in orthographic
projection: i32Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC