Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

ParticleSystem.CustomDataModule.GetVector

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

Parameters

stream 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

MinMaxCurve The curve being used to generate custom data.

Description

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