pub struct PointLight3D { /* private fields */ }Expand description
Dynamic physically based omnidirectional 3D point light for UE5 Clustered Deferred Shading.
Implementations§
Source§impl PointLight3D
Constructors for PointLight3D.
impl PointLight3D
Constructors for PointLight3D.
Source§impl PointLight3D
impl PointLight3D
pub fn get_position(&self) -> Vec3
pub fn get_mut_position(&mut self) -> &mut Vec3
pub fn set_position(&mut self, val: Vec3) -> &mut Self
pub fn get_color(&self) -> Vec3
pub fn get_mut_color(&mut self) -> &mut Vec3
pub fn set_color(&mut self, val: Vec3) -> &mut Self
pub fn get_intensity(&self) -> f32
pub fn get_mut_intensity(&mut self) -> &mut f32
pub fn set_intensity(&mut self, val: f32) -> &mut Self
pub fn get_radius(&self) -> f32
pub fn get_mut_radius(&mut self) -> &mut f32
pub fn set_radius(&mut self, val: f32) -> &mut Self
pub fn get_cast_shadows(&self) -> bool
pub fn get_mut_cast_shadows(&mut self) -> &mut bool
pub fn set_cast_shadows(&mut self, val: bool) -> &mut Self
Trait Implementations§
Source§impl Clone for PointLight3D
impl Clone for PointLight3D
impl Copy for PointLight3D
Source§impl Debug for PointLight3D
impl Debug for PointLight3D
Source§impl PartialEq for PointLight3D
impl PartialEq for PointLight3D
impl StructuralPartialEq for PointLight3D
Auto Trait Implementations§
impl Forget for PointLight3D
impl Freeze for PointLight3D
impl Move for PointLight3D
impl RefUnwindSafe for PointLight3D
impl Send for PointLight3D
impl Sync for PointLight3D
impl Unpin for PointLight3D
impl UnsafeUnpin for PointLight3D
impl UnwindSafe for PointLight3D
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