Protected
constructorReadonly
durationAnimation duration in seconds.
Readonly
fpsDenotes how many key frames this animation was sampled at.
The name of the Asset in Lens Studio.
Readonly
uniqueAdds AnimationPropertyLayer to Animation asset.
Delete all the AnimationPropertyLayer in this AnimationAsset.
Creates an event that will be triggered at a given time of this animation asset.
Deletes an event that will be triggered at a given time.
Delete the AnimationPropertyLayer named layerName
.
Retrieves an animation associated with a particular object.
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
Represents animation data. Can have multiple AnimationPropertyLayers. Used in AnimationClip.
Remarks
AnimationAssets themselves do not handle playing or orchestrating animations. This is left to the AnimationPlayer component to handle.
Example