new AnimationFactory()
Methods
- 
    
<static> create(type, options)
 - 
    
    Factory to create an animation. Creates an animation based on :
- the animation type ANIMATION,
 - the options for the specific animation
 
Parameters:
Name Type Description typeANIMATION Type of animation. optionsAbstractAnimation.inertia_configuration | AbstractAnimation.interpolated_configuration | AbstractAnimation.path_configuration | AbstractAnimation.segmented_configuration See the options for each animation for further information - See:
 - 
		
- InertiaAnimation Animation simulating inertia for camera's navigation
 - InterpolatedAnimation Generic animation to interpolate arbitrary values
 - PathAnimation Defines an animation based on a path
 - SegmentedAnimation Defines an animation based on segments
 
 
Throws:
- 
        Type not valid - a valid type is included in the list ANIMATION
 - Type
 - RangeError
 
Returns:
- the interface to handle an animation- Type
 - AbstractAnimation
 
 
Documentation