pub struct Light { /* private fields */ }Implementations§
Source§impl Light
impl Light
pub fn type_(&self) -> u16
pub fn set_type_(&mut self, value: u16)
pub fn bone_id(&self) -> i16
pub fn set_bone_id(&mut self, value: i16)
pub fn position(&self) -> Vector3f
pub fn set_position(&mut self, value: Vector3f)
Sourcepub fn ambient_color(&self) -> Ref<'_, AnimationTrackVector3f>
pub fn ambient_color(&self) -> Ref<'_, AnimationTrackVector3f>
Borrows the field in place — no copy, no allocation.
pub fn ambient_color_mut(&mut self) -> RefMut<'_, AnimationTrackVector3f>
Sourcepub fn ambient_intensity(&self) -> Ref<'_, AnimationTrackF32>
pub fn ambient_intensity(&self) -> Ref<'_, AnimationTrackF32>
Borrows the field in place — no copy, no allocation.
pub fn ambient_intensity_mut(&mut self) -> RefMut<'_, AnimationTrackF32>
Sourcepub fn diffuse_color(&self) -> Ref<'_, AnimationTrackVector3f>
pub fn diffuse_color(&self) -> Ref<'_, AnimationTrackVector3f>
Borrows the field in place — no copy, no allocation.
pub fn diffuse_color_mut(&mut self) -> RefMut<'_, AnimationTrackVector3f>
Sourcepub fn diffuse_intensity(&self) -> Ref<'_, AnimationTrackF32>
pub fn diffuse_intensity(&self) -> Ref<'_, AnimationTrackF32>
Borrows the field in place — no copy, no allocation.
pub fn diffuse_intensity_mut(&mut self) -> RefMut<'_, AnimationTrackF32>
Sourcepub fn attenuation_start(&self) -> Ref<'_, AnimationTrackF32>
pub fn attenuation_start(&self) -> Ref<'_, AnimationTrackF32>
Borrows the field in place — no copy, no allocation.
pub fn attenuation_start_mut(&mut self) -> RefMut<'_, AnimationTrackF32>
Sourcepub fn attenuation_end(&self) -> Ref<'_, AnimationTrackF32>
pub fn attenuation_end(&self) -> Ref<'_, AnimationTrackF32>
Borrows the field in place — no copy, no allocation.
pub fn attenuation_end_mut(&mut self) -> RefMut<'_, AnimationTrackF32>
Sourcepub fn visibility(&self) -> Ref<'_, AnimationTrackU8>
pub fn visibility(&self) -> Ref<'_, AnimationTrackU8>
Borrows the field in place — no copy, no allocation.
pub fn visibility_mut(&mut self) -> RefMut<'_, AnimationTrackU8>
Trait Implementations§
impl Send for Light
Auto Trait Implementations§
impl !Sync for Light
impl Freeze for Light
impl RefUnwindSafe for Light
impl Unpin for Light
impl UnsafeUnpin for Light
impl UnwindSafe for Light
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