pub struct MeshFilter {
pub m_GameObject: PPtr,
pub m_Mesh: PPtr,
}Expand description
MeshFilter is a class of the Unity engine since version 3.4.0. Exert from Unity’s scripting documentation: A class to access the Mesh of the mesh filter. Use this with a procedural mesh interface. See Also: Mesh class.
Fields§
§m_GameObject: PPtrThe game object this component is attached to. A component is always attached to a game object.
PPtr<GameObject>: (3.4.0 - 2022.3.2f1)
m_Mesh: PPtrReturns either a new mesh or a duplicate of the existing mesh, and assigns it to the mesh filter.
PPtr<Mesh>: (3.4.0 - 2022.3.2f1)
Trait Implementations§
Source§impl Debug for MeshFilter
impl Debug for MeshFilter
Source§impl<'de> Deserialize<'de> for MeshFilter
impl<'de> Deserialize<'de> for MeshFilter
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 MeshFilter
impl RefUnwindSafe for MeshFilter
impl Send for MeshFilter
impl Sync for MeshFilter
impl Unpin for MeshFilter
impl UnwindSafe for MeshFilter
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