文档

Unity Engine

Unity Engine

GetTopology(int)

Gets the topology of a sub-mesh.
阅读时间1 分钟最后更新于 1 个月前

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.