Documentation

Unity Engine


Unity Engine


HasAnimationCurve(string)

Checks if a material property is animated in a any AnimationClip.
Read time 1 minuteLast updated a month ago

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.