文档

Unity Engine

Download Unity

Unity Engine

HasAnimationCurveInClip(string, string)

Checks if a material property is animated in a specific AnimationClip.
阅读时间1 分钟最后更新于 2 个月前

Definition

public bool HasAnimationCurveInClip(string clipName, string propertyName)

Parameters

clipName

The name of the AnimationClip.

propertyName

Name of the material's animated property.

Returns

Type

Description

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