[−][src]Struct crystal_engine::PointLight
A pointlight in the world.
Note: Not implemented yet
For more information, see the amazing tutorial at https://learnopengl.com/Lighting/Colors
Fields
position: Vector3<f32>The position of the light in the world.
color: LightColorThe color of the light in the world.
attenuation: PointLightAttenuationThe attenuation of the light, or how much the light decays over a distance.
PointLightAttenuation implements Default so you can take a good initial value, or you
can tune this until the end of time.
Trait Implementations
impl Default for PointLight[src]
Auto Trait Implementations
impl RefUnwindSafe for PointLight
impl Send for PointLight
impl Sync for PointLight
impl Unpin for PointLight
impl UnwindSafe for PointLight
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Content for T[src]
fn ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>[src]
fn is_size_suitable(size: usize) -> bool[src]
fn indiv_size() -> usize[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> SafeBorrow<T> for T[src]
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,