Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetCustomParticleData(List<Vector4>, ParticleSystemCustomData)

Get a stream of custom per-particle data.
Read time 1 minuteLast updated 4 days ago

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