pub struct PerspectiveCameraBuilder {
pub fov: Option<f32>,
pub aspect: Option<f32>,
pub near: Option<f32>,
pub far: Option<f32>,
pub position: Option<[f32; 3]>,
pub target: Option<[f32; 3]>,
pub children: Option<Vec<NodeBlueprint>>,
pub __strata_key: Option<String>,
}Fields§
§fov: Option<f32>§aspect: Option<f32>§near: Option<f32>§far: Option<f32>§position: Option<[f32; 3]>§target: Option<[f32; 3]>§children: Option<Vec<NodeBlueprint>>§__strata_key: Option<String>Implementations§
Source§impl PerspectiveCameraBuilder
impl PerspectiveCameraBuilder
pub fn fov(self, val: impl Into<Option<f32>>) -> Self
pub fn aspect(self, val: impl Into<Option<f32>>) -> Self
pub fn near(self, val: impl Into<Option<f32>>) -> Self
pub fn far(self, val: impl Into<Option<f32>>) -> Self
pub fn position(self, val: impl Into<Option<[f32; 3]>>) -> Self
pub fn target(self, val: impl Into<Option<[f32; 3]>>) -> Self
pub fn children(self, children: Vec<NodeBlueprint>) -> Self
pub fn key(self, key: impl Display) -> Self
pub fn build(self) -> View
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PerspectiveCameraBuilder
impl !Send for PerspectiveCameraBuilder
impl !Sync for PerspectiveCameraBuilder
impl !UnwindSafe for PerspectiveCameraBuilder
impl Forget for PerspectiveCameraBuilder
impl Freeze for PerspectiveCameraBuilder
impl Move for PerspectiveCameraBuilder
impl Unpin for PerspectiveCameraBuilder
impl UnsafeUnpin for PerspectiveCameraBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more