Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MeshFilter

A class to access the Mesh of the mesh filter.
Read time 6 minutesLast updated 2 days ago

Definition

[RequireComponent(typeof(Transform))]public sealed class MeshFilter : Component

Remarks

Use this with a procedural mesh interface. Additional Resources: Mesh class.

Properties

Property

Description

meshReturns either a new mesh or a duplicate of the existing mesh, and assigns it to the mesh filter.
sharedMeshReturns the shared mesh of the mesh filter.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.