pub type mjvLight = _mjvLight;Aliased Type§
#[repr(C)]pub struct mjvLight {
pub pos: [f32; 3],
pub dir: [f32; 3],
pub attenuation: [f32; 3],
pub cutoff: f32,
pub exponent: f32,
pub ambient: [f32; 3],
pub diffuse: [f32; 3],
pub specular: [f32; 3],
pub headlight: u8,
pub directional: u8,
pub castshadow: u8,
}Fields§
§pos: [f32; 3]§dir: [f32; 3]§attenuation: [f32; 3]§cutoff: f32§exponent: f32§ambient: [f32; 3]§diffuse: [f32; 3]§specular: [f32; 3]§headlight: u8§directional: u8§castshadow: u8