文档

Unity Engine

Unity Engine

GetVector(ParticleSystemCustomData, int)

Get a ParticleSystem.MinMaxCurve, that is being used to generate custom data.
阅读时间1 分钟最后更新于 1 天前

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