기술 자료

Unity Engine

Unity Engine

GetMeshIndex(ParticleSystem)

Calculate the Mesh index of the particle, used for choosing which Mesh a particle is rendered with.
읽는 시간 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.