LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

ParticleSystem.CustomDataModule.GetVector

Switch to Manual
public ParticleSystem.MinMaxCurve GetVector(ParticleSystemCustomData stream, int component);

Parameters

streamThe name of the custom data stream to retrieve the curve from.
componentThe component index to retrieve the curve for (0-3, mapping to the xyzw components of a Vector4 or float4).

Returns

MinMaxCurve The curve being used to generate custom data.

Description

Get a MinMaxCurve, that is being used to generate custom data.