Legacy Documentation: Version 2018.1 (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.GetVectorComponentCount

Switch to Manual
public int GetVectorComponentCount(ParticleSystemCustomData stream);

Parameters

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

Returns

int The number of curves.

Description

Query how many MinMaxCurve elements are being used to generate this stream of custom data.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答