ドキュメント

Unity Engine

Unity Engine

GetVector(ParticleSystemCustomData, int)

Get a ParticleSystem.MinMaxCurve, that is being used to generate custom data.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
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