Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetVectorComponentCount(ParticleSystemCustomData)

Query how many ParticleSystem.MinMaxCurve elements are being used to generate this stream of custom data.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public int GetVectorComponentCount(ParticleSystemCustomData stream)

Parameters

The name of the custom data stream to retrieve the curve from.

Returns

Type

Description

intThe number of curves.

Remarks