#[repr(C)]pub struct tm_light_component_t {Show 16 fields
pub type_: u32,
pub color_rgb: tm_vec3_t,
pub intensity: f32,
pub spot_angle_inner: f32,
pub spot_angle_outer: f32,
pub extent: tm_vec2_t,
pub radius: f32,
pub cast_shadows: bool,
pub _padding_55: [i8; 7],
pub shadow_depth_bias: f32,
pub shadow_distance: f32,
pub uniform_log_weight: f32,
pub num_cascades: u8,
pub _padding_60: [i8; 3],
pub ibl_diffuse: tm_light_component_t__bindgen_ty_1,
pub ibl_specular: tm_light_component_t__bindgen_ty_2,
}Fields§
§type_: u32§color_rgb: tm_vec3_t§intensity: f32§spot_angle_inner: f32§spot_angle_outer: f32§extent: tm_vec2_t§radius: f32§cast_shadows: bool§_padding_55: [i8; 7]§shadow_depth_bias: f32§shadow_distance: f32§uniform_log_weight: f32§num_cascades: u8§_padding_60: [i8; 3]§ibl_diffuse: tm_light_component_t__bindgen_ty_1§ibl_specular: tm_light_component_t__bindgen_ty_2Trait Implementations§
Source§impl Clone for tm_light_component_t
impl Clone for tm_light_component_t
Source§fn clone(&self) -> tm_light_component_t
fn clone(&self) -> tm_light_component_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for tm_light_component_t
Auto Trait Implementations§
impl Freeze for tm_light_component_t
impl RefUnwindSafe for tm_light_component_t
impl Send for tm_light_component_t
impl Sync for tm_light_component_t
impl Unpin for tm_light_component_t
impl UnwindSafe for tm_light_component_t
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