文档

Unity Engine

Unity Engine

HasAnimationCurve(string)

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

Definition

public bool HasAnimationCurve(string propertyName)

Parameters

propertyName

The name of the material property.

Returns

Type

Description

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