Documentation

Unity Engine

Unity Engine

GetTopology(int)

Gets the topology of a sub-mesh.
Read time 1 minuteLast updated 2 months 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.