generate
Generates an AnimationResource instance based on the provided subclass of SpatialAnimation.
Return
The generated AnimationResource instance based on the input SpatialAnimation subclass.
Parameters
animation
The subclass instance of SpatialAnimation used to generate the corresponding AnimationResource.