Interface ICameraAnimator
Defines the interface with methods for animating position of ICameraController
Implements
Namespace:
Assembly: .dll
Syntax
public interface ICameraAnimator extends IAttachable
Methods
animate(Vector3 position, Vector3 target, long duration)
Animates camera to specified position
and target
position with specified duration
Declaration
public abstract void animate(Vector3 position, Vector3 target, long duration)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position | The final position of camera |
Vector3 | target | The final target of camera |
long | duration | The animation duration |
cancelAnimation()
Cancels running animation
Declaration
public abstract void cancelAnimation()
isAnimating()
Gets the value indicating whether the animation is running
Declaration
public abstract boolean isAnimating()
Returns
Type | Description |
---|---|
boolean | True if animation is running |