Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetTopology(int)

Gets the topology of a sub-mesh.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public MeshTopology GetTopology(int submesh)

Parameters

submesh

Returns

Type

Description

MeshTopology

Remarks

Additional Resources: MeshTopology enum, Mesh.SetIndices function.