pub enum LightKind {
Point,
Spot {
inner_cone: f32,
outer_cone: f32,
},
Directional,
}Expand description
What a Light is: glTF’s KHR_lights_punctual types. A spot’s cone angles are from its axis, in radians, the
inner within the outer (full intensity inside the inner, falling to none at the outer).
Variants§
Trait Implementations§
impl Copy for LightKind
impl StructuralPartialEq for LightKind
Auto Trait Implementations§
impl Forget for LightKind
impl Freeze for LightKind
impl RefUnwindSafe for LightKind
impl Send for LightKind
impl Sync for LightKind
impl Unpin for LightKind
impl UnsafeUnpin for LightKind
impl UnwindSafe for LightKind
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