MeshFilter
A class to access the Mesh of the mesh filter.
Read time 6 minutesLast updated 2 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
- Inherits from: Component
[RequireComponent(typeof(Transform))]public sealed class MeshFilter : Component
Remarks
Use this with a procedural mesh interface. Additional Resources: Mesh class.
Properties
Property | Description |
|---|---|
| mesh | Returns either a new mesh or a duplicate of the existing mesh, and assigns it to the mesh filter. |
| sharedMesh | Returns the shared mesh of the mesh filter. |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |