LightDescription.TryGetAnimationCurve

Declaration

public bool TryGetAnimationCurve(string clipName, string propertyName, out AnimationCurve value);

Parameters

clipName The name of the AnimationClip.
propertyName The name of the light property.
value The retrieved AnimationCurve, if one exists for the specified light property.

Returns

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

Description

Retrieves the AnimationCurve for an animated light property in a specific AnimationClip.


Did you find this page useful? Please give it a rating: