Struct pill_engine::game::CameraComponent [−][src]
pub struct CameraComponent {
pub aspect: CameraAspectRatio,
pub fov: f32,
pub range: Range<f32>,
pub clear_color: Color,
pub enabled: bool,
// some fields omitted
}
Fields
aspect: CameraAspectRatio
fov: f32
range: Range<f32>
clear_color: Color
enabled: bool
Implementations
Trait Implementations
fn destroy(
&mut self,
engine: &mut Engine,
self_scene_handle: SceneHandle,
self_entity_handle: EntityHandle
) -> Result<()>
type Storage = ComponentStorage<CameraComponent>
type Storage = ComponentStorage<CameraComponent>
Defines the value type that corresponds to this PillTypeMapKey
.