Documentation

Unity Engine

Unity Engine

HasAnimationCurveInClip(string, string)

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

Definition

public bool HasAnimationCurveInClip(string clipName, string propertyName)

Parameters

clipName

The name of the AnimationClip.

propertyName

The name of the light's animated property.

Returns

Type

Description

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