AudioSource.GetCustomCurve

Switch to Manual

Declaration

public AnimationCurve GetCustomCurve(AudioSourceCurveType type);

Parameters

type The curve type to get.

Returns

AnimationCurve The custom AnimationCurve corresponding to the given curve type.

Description

Get the current custom curve for the given AudioSourceCurveType.

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.


Did you find this page useful? Please give it a rating: