ドキュメント

Unity Engine

Unity Engine

GetMeshIndex(ParticleSystem)

Calculate the Mesh index of the particle, used for choosing which Mesh a particle is rendered with.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public int GetMeshIndex(ParticleSystem system)

Parameters

The Particle System from which this particle was emitted.

Returns

Type

Description

intThe index of the mesh used for rendering the particle.