Struct amethyst_renderer::ActiveCamera [−][src]
pub struct ActiveCamera {
pub entity: Entity,
}Active camera resource, used by the renderer to choose which camera to get the view matrix from. If no active camera is found, the first camera will be used as a fallback.
Fields
entity: Entity
Camera entity
Trait Implementations
impl Clone for ActiveCamera[src]
impl Clone for ActiveCamerafn clone(&self) -> ActiveCamera[src]
fn clone(&self) -> ActiveCameraReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for ActiveCamera[src]
impl Debug for ActiveCamerafn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ActiveCamera[src]
impl PartialEq for ActiveCamerafn eq(&self, other: &ActiveCamera) -> bool[src]
fn eq(&self, other: &ActiveCamera) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ActiveCamera) -> bool[src]
fn ne(&self, other: &ActiveCamera) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for ActiveCamera
impl Send for ActiveCameraimpl Sync for ActiveCamera
impl Sync for ActiveCamera