#[repr(C)]pub struct RectangleLight {
pub instance_id: i32,
pub shadow: bool,
pub mode: LightMode,
pub position: Vector3,
pub orientation: Quaternion,
pub color: LinearColor,
pub indirect_color: LinearColor,
pub range: f32,
pub width: f32,
pub height: f32,
pub falloff: FalloffType,
}Expand description
Fields§
§instance_id: i32§shadow: bool§mode: LightMode§position: Vector3§orientation: Quaternion§color: LinearColor§indirect_color: LinearColor§range: f32§width: f32§height: f32§falloff: FalloffTypeTrait Implementations§
Source§impl ClassIdentity for RectangleLight
impl ClassIdentity for RectangleLight
Source§impl Clone for RectangleLight
impl Clone for RectangleLight
Source§fn clone(&self) -> RectangleLight
fn clone(&self) -> RectangleLight
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RectangleLight
Auto Trait Implementations§
impl Freeze for RectangleLight
impl RefUnwindSafe for RectangleLight
impl Send for RectangleLight
impl Sync for RectangleLight
impl Unpin for RectangleLight
impl UnwindSafe for RectangleLight
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)