ドキュメント

Unity Engine

Download Unity

Unity Engine

GetMeshIndex(ParticleSystem)

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

Definition

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.