This version of Unity is unsupported.

MaterialDescription.HasAnimationCurve

Declaration

public bool HasAnimationCurve(string propertyName);

Parameters

propertyName The name of the material property.

Returns

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

Description

Checks if a material property is animated in a any AnimationClip.