Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HasAnimationCurveInClip(string, string)

Checks if a material property is animated in a specific AnimationClip.
Read time 1 minuteLast updated 20 days ago

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.