ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


TryGetAnimationCurve(string, string, out AnimationCurve)

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

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 material property.

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

Returns

Type

Description

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