MaterialDescription.TryGetAnimationCurve

Declaration

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

Parameters

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

Returns

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

Description

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


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