pub struct SkyCamera {
pub angles: Angles,
pub fogblend: bool,
pub fogcolor: Color,
pub fogcolor2: Color,
pub fogdir: Vector,
pub fogenable: bool,
pub fogend: f32,
pub fogmaxdensity: Option<f32>,
pub fogstart: f32,
pub origin: Vector,
pub scale: u8,
pub use_angles: bool,
}Fields§
§angles: Angles§fogblend: bool§fogcolor: Color§fogcolor2: Color§fogdir: Vector§fogenable: bool§fogend: f32§fogmaxdensity: Option<f32>§fogstart: f32§origin: Vector§scale: u8§use_angles: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for SkyCamera
impl<'de> Deserialize<'de> for SkyCamera
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SkyCamera
impl RefUnwindSafe for SkyCamera
impl Send for SkyCamera
impl Sync for SkyCamera
impl Unpin for SkyCamera
impl UnwindSafe for SkyCamera
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more