pub struct ClusteredLightRef { /* private fields */ }Expand description
Compact clustered light handle pairing source kind, source array index, and world bounding sphere.
Implementations§
Source§impl ClusteredLightRef
Implements impl #impl_generics #name #ty_generics #where_clause.
impl ClusteredLightRef
Implements impl #impl_generics #name #ty_generics #where_clause.
pub fn get_kind(&self) -> ClusteredLightKind
pub fn get_mut_kind(&mut self) -> &mut ClusteredLightKind
pub fn set_kind(&mut self, val: ClusteredLightKind) -> &mut Self
pub fn get_index(&self) -> u32
pub fn get_mut_index(&mut self) -> &mut u32
pub fn set_index(&mut self, val: u32) -> &mut Self
pub fn get_bounding_center(&self) -> Vec3
pub fn get_mut_bounding_center(&mut self) -> &mut Vec3
pub fn set_bounding_center(&mut self, val: Vec3) -> &mut Self
pub fn get_bounding_radius(&self) -> f32
pub fn get_mut_bounding_radius(&mut self) -> &mut f32
pub fn set_bounding_radius(&mut self, val: f32) -> &mut Self
Source§impl ClusteredLightRef
Implements impl #impl_generics #name #ty_generics #where_clause.
impl ClusteredLightRef
Implements impl #impl_generics #name #ty_generics #where_clause.
Trait Implementations§
Source§impl Clone for ClusteredLightRef
impl Clone for ClusteredLightRef
impl Copy for ClusteredLightRef
Source§impl Debug for ClusteredLightRef
impl Debug for ClusteredLightRef
Source§impl Default for ClusteredLightRef
impl Default for ClusteredLightRef
Source§impl PartialEq for ClusteredLightRef
impl PartialEq for ClusteredLightRef
impl StructuralPartialEq for ClusteredLightRef
Auto Trait Implementations§
impl Forget for ClusteredLightRef
impl Freeze for ClusteredLightRef
impl Move for ClusteredLightRef
impl RefUnwindSafe for ClusteredLightRef
impl Send for ClusteredLightRef
impl Sync for ClusteredLightRef
impl Unpin for ClusteredLightRef
impl UnsafeUnpin for ClusteredLightRef
impl UnwindSafe for ClusteredLightRef
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