Documentation

Unity Engine

Download Unity

Unity Engine

GetVector(ParticleSystemCustomData, int)

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

Definition

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