Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HasAnimationCurve(string)

Checks if a material property is animated in a any AnimationClip.
Read time 1 minuteLast updated 14 days 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.