Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetVector(ParticleSystemCustomData, int)

Get a ParticleSystem.MinMaxCurve, that is being used to generate custom data.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public ParticleSystem.MinMaxCurve GetVector(ParticleSystemCustomData stream, int component)

Parameters

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

component

The component index to retrieve the curve for (0-3, mapping to the xyzw components of a Vector4 or float4).

Returns

Type

Description

MinMaxCurveThe curve being used to generate custom data.

Remarks