pub struct ClothRenderer {Show 15 fields
pub m_CastShadows: bool,
pub m_Enabled: bool,
pub m_GameObject: PPtr,
pub m_LightmapIndex: u8,
pub m_LightmapTilingOffset: Vector4f,
pub m_Materials: Vec<PPtr>,
pub m_PauseWhenNotVisible: bool,
pub m_ReceiveShadows: bool,
pub m_StaticBatchRoot: PPtr,
pub m_SubsetIndices: Vec<u32>,
pub m_LightProbeAnchor: Option<PPtr>,
pub m_SortingLayer: Option<i16>,
pub m_SortingLayerID: Option<u32>,
pub m_SortingOrder: Option<i16>,
pub m_UseLightProbes: Option<bool>,
}
Expand description
ClothRenderer is a class of the Unity engine since version 3.4.0.
Fields§
§m_CastShadows: bool
§m_Enabled: bool
§m_GameObject: PPtr
PPtr<GameObject
>: (3.4.0 - 4.7.2)
m_LightmapIndex: u8
§m_LightmapTilingOffset: Vector4f
§m_Materials: Vec<PPtr>
Vec<PPtr<Material
>>: (3.4.0 - 4.7.2)
m_PauseWhenNotVisible: bool
§m_ReceiveShadows: bool
§m_StaticBatchRoot: PPtr
PPtr<Transform
>: (3.4.0 - 4.7.2)
m_SubsetIndices: Vec<u32>
§m_LightProbeAnchor: Option<PPtr>
PPtr<Transform
>: (3.5.0 - 4.7.2)
m_SortingLayer: Option<i16>
i16: (4.3.0 - 4.3.4)
m_SortingLayerID: Option<u32>
u32: (4.5.0 - 4.7.2)
m_SortingOrder: Option<i16>
i16: (4.3.0 - 4.7.2)
m_UseLightProbes: Option<bool>
bool: (3.5.0 - 4.7.2)
Trait Implementations§
Source§impl Debug for ClothRenderer
impl Debug for ClothRenderer
Source§impl<'de> Deserialize<'de> for ClothRenderer
impl<'de> Deserialize<'de> for ClothRenderer
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 ClothRenderer
impl RefUnwindSafe for ClothRenderer
impl Send for ClothRenderer
impl Sync for ClothRenderer
impl Unpin for ClothRenderer
impl UnwindSafe for ClothRenderer
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