ドキュメント

Unity Engine

Unity Engine

TryGetAnimationCurve(string, string, out AnimationCurve)

Retrieves the AnimationCurve for an animated light property in a specific AnimationClip.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

TryGetAnimationCurve(string, string, AnimationCurve)

public bool TryGetAnimationCurve(string clipName, string propertyName, out AnimationCurve value)

Parameters

clipName

The name of the AnimationClip.

propertyName

The name of the light property.

The retrieved AnimationCurve, if one exists for the specified light property.

Returns

Type

Description

boolReturns true if the light property is animated. Returns false otherwise.