pub struct LightInstanceObject {Show 16 fields
pub light_type: LightType,
pub attenuation: f32,
pub range_rate: f32,
pub point_light_type: PointLightType,
pub attenuation_cone_coefficient: f32,
pub cone_degree: f32,
pub texture_path_offset: u32,
pub diffuse_color_hdri: ColorHDRI,
pub follows_directional_light: bool,
pub specular_enabled: bool,
pub bg_shadow_enabled: bool,
pub character_shadow_enabled: bool,
pub shadow_clip_range: f32,
pub plane_light_rotation_x: f32,
pub plane_light_rotation_y: f32,
pub merge_group_id: u16,
/* private fields */
}
Fields§
§light_type: LightType
§attenuation: f32
§range_rate: f32
§point_light_type: PointLightType
§attenuation_cone_coefficient: f32
§cone_degree: f32
§texture_path_offset: u32
§diffuse_color_hdri: ColorHDRI
§follows_directional_light: bool
§specular_enabled: bool
§bg_shadow_enabled: bool
§character_shadow_enabled: bool
§shadow_clip_range: f32
§plane_light_rotation_x: f32
§plane_light_rotation_y: f32
§merge_group_id: u16
Trait Implementations§
Source§impl BinRead for LightInstanceObject
impl BinRead for LightInstanceObject
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
§fn read<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Read
Self
from the reader using default arguments. Read more§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self
from the reader using default arguments and assuming
big-endian byte order. Read more§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self
from the reader using default arguments and assuming
little-endian byte order. Read more§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T
from the reader assuming native-endian byte order. Read more§fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self
from the reader using the given arguments. Read more§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self
from the reader, assuming big-endian byte order, using the
given arguments. Read more§fn read_le_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_le_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self
from the reader, assuming little-endian byte order, using
the given arguments. Read moreSource§impl Debug for LightInstanceObject
impl Debug for LightInstanceObject
Auto Trait Implementations§
impl Freeze for LightInstanceObject
impl RefUnwindSafe for LightInstanceObject
impl Send for LightInstanceObject
impl Sync for LightInstanceObject
impl Unpin for LightInstanceObject
impl UnwindSafe for LightInstanceObject
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