ドキュメント

Unity Engine

Unity Engine

GetCustomCurve(AudioSourceCurveType)

Get the current custom curve for the given AudioSourceCurveType.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
public AnimationCurve GetCustomCurve(AudioSourceCurveType type)

Parameters

The curve type to get.

Returns

Type

Description

AnimationCurveThe custom AnimationCurve corresponding to the given curve type.

Remarks

Note that if there is no curve set, or the corresponding curve type value setter has been set, a single key AnimationCurve will be returned corresponding to the current value.