文档

Unity Engine

Unity Engine

GetCustomParticleData(List<Vector4>, ParticleSystemCustomData)

Get a stream of custom per-particle data.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public int GetCustomParticleData(List<Vector4> customData, ParticleSystemCustomData streamIndex)

Parameters

customData

The array of per-particle data.

Which stream to retrieve the data from.

Returns

Type

Description

intThe amount of valid per-particle data.

Remarks