#[repr(C)]pub struct DiscLight {
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 radius: 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§radius: f32§falloff: FalloffTypeTrait Implementations§
Source§impl ClassIdentity for DiscLight
impl ClassIdentity for DiscLight
impl Copy for DiscLight
Auto Trait Implementations§
impl Freeze for DiscLight
impl RefUnwindSafe for DiscLight
impl Send for DiscLight
impl Sync for DiscLight
impl Unpin for DiscLight
impl UnwindSafe for DiscLight
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)