Struct rin::blender::scene_data::lamp::Lamp [−][src]
pub struct Lamp {}Show fields
pub name: ObjectId, pub ty: LightType, pub transformations: Transformations, pub color: AlphaColor<f32, Rgb<f32, LinearRgb>>, pub strength: f32, pub att_constant: f32, pub att_linear: f32, pub att_quadratic: f32, pub size: f32, pub angle: Deg<f32>, pub spot_blend: f32, pub shadowmap_type: ShadowMapType, pub shadow_frustum_size: Option<f32>, pub shadow_bufsize: u16, pub shadow_near_clip: f32, pub shadow_far_clip: Option<f32>, pub shadow_bias: f32, pub shadow_contact: bool, pub custom_properties: Vec<Property, Global>, pub visible: bool,
Fields
name: ObjectId
ty: LightType
transformations: Transformations
color: AlphaColor<f32, Rgb<f32, LinearRgb>>
strength: f32
att_constant: f32
att_linear: f32
att_quadratic: f32
size: f32
angle: Deg<f32>
spot_blend: f32
shadowmap_type: ShadowMapType
shadow_frustum_size: Option<f32>
shadow_bufsize: u16
shadow_near_clip: f32
shadow_far_clip: Option<f32>
shadow_bias: f32
shadow_contact: bool
custom_properties: Vec<Property, Global>
visible: bool
Trait Implementations
impl<'de> Deserialize<'de> for Lamp
[src]
impl<'de> Deserialize<'de> for Lamp
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Lamp, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<Lamp, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Serialize for Lamp
[src]
impl Serialize for Lamp
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Auto Trait Implementations
impl RefUnwindSafe for Lamp
impl Send for Lamp
impl Sync for Lamp
impl Unpin for Lamp
impl UnwindSafe for Lamp
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,