pub struct LightAdsSpot {
pub _id: u64,
pub _pos: Mat3x1<f32>,
pub _ads_val_spec: Mat3x1<f32>,
pub _ads_val_diff: Mat3x1<f32>,
pub _ads_val_amb: Mat3x1<f32>,
pub _fov: f32,
pub _focus: Mat4<f32>,
pub _light_view_xform: Mat4<f32>,
}Fields§
§_id: u64§_pos: Mat3x1<f32>§_ads_val_spec: Mat3x1<f32>§ads values
_ads_val_diff: Mat3x1<f32>§_ads_val_amb: Mat3x1<f32>§_fov: f32§_focus: Mat4<f32>§_light_view_xform: Mat4<f32>§computed view from _pos, _focus
Trait Implementations§
Source§impl AdsVal for LightAdsSpot
impl AdsVal for LightAdsSpot
fn get_ads_val_spec(&self) -> Mat3x1<f32>
fn get_ads_val_diff(&self) -> Mat3x1<f32>
fn get_ads_val_amb(&self) -> Mat3x1<f32>
Auto Trait Implementations§
impl Freeze for LightAdsSpot
impl RefUnwindSafe for LightAdsSpot
impl Send for LightAdsSpot
impl Sync for LightAdsSpot
impl Unpin for LightAdsSpot
impl UnsafeUnpin for LightAdsSpot
impl UnwindSafe for LightAdsSpot
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> 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