pub struct Flare {
pub m_Elements: Vec<FlareElement>,
pub m_FlareTexture: PPtr,
pub m_Name: String,
pub m_TextureLayout: i32,
pub m_UseFog: bool,
}Expand description
Flare is a class of the Unity engine since version 3.4.0. Exert from Unity’s scripting documentation: A flare asset. Read more about flares in the components reference. The flare class has no properties. It needs to be setup up in the inspector.
You can reference flares and assign them to a Light at runtime.See Also: Flare assets, LensFlare class.
Fields§
§m_Elements: Vec<FlareElement>§m_FlareTexture: PPtrPPtr<Texture>: (3.4.0 - 2022.3.2f1)
m_Name: StringThe name of the object.
m_TextureLayout: i32§m_UseFog: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Flare
impl<'de> Deserialize<'de> for Flare
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Flare
impl RefUnwindSafe for Flare
impl Send for Flare
impl Sync for Flare
impl Unpin for Flare
impl UnwindSafe for Flare
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