Rotorz Tile System Icon
Rotorz Tile System for Unity
API Reference
Available on the Unity Asset Store
TOC

ProceduralMesh Class

Procedural mesh component is automatically attached to chunks when procedural 2D tiles are painted.
public sealed class ProceduralMesh : MonoBehaviour
public sealed class ProceduralMesh extends MonoBehaviour

Methods

InitialUpdateMesh()
Update procedural mesh from tile data for first time.
UpdateMesh(Boolean)
Update procedural mesh from tile data.
UpdateMeshUVs()
Update procedural mesh UVs from tile data.

Properties

HasUpdatedOnce
Gets a value indicating if procedural mesh has been updated at least once.

Inheritance Hierarchy

System.Object
  Object
    Component
      Behaviour
        MonoBehaviour
          Rotorz.Tile.ProceduralMesh

See Also

Reference