com.visioglobe.libVisioDevKit
Class VgIAnimationManager
java.lang.Object
com.visioglobe.libVisioDevKit.VgIAnimationManager
public class VgIAnimationManager
- extends java.lang.Object
This class is a manager for animations. It contains a method to set up
camera animations. This is an interface to a hiden implementation. It
should never be directly instantiated. An instance of this class can be
obtained through VgEngine::VgIEngine::editAnimationManager().
Constructor Summary |
VgIAnimationManager(long cPtr,
boolean cMemoryOwn)
This class constructor is protected to prevent instantiation. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
swigCMemOwn
protected boolean swigCMemOwn
VgIAnimationManager
public VgIAnimationManager(long cPtr,
boolean cMemoryOwn)
- This class constructor is protected to prevent instantiation.
getCPtr
public static long getCPtr(VgIAnimationManager obj)
finalize
protected void finalize()
- Overrides:
finalize
in class java.lang.Object
delete
public void delete()
setCameraAnimation
public void setCameraAnimation(VgAnimationRefPtr pAnimation)
- This method uses an instantiated animation to animate the camera.
Only the position and orientation channels will be used.
- Parameters:
pAnimation
- The pointer of the animation to use.
if NULL, the current animation will be dereferenced silently: no longer updated and its stop callback will not be called- Remark:
- the animations will execute regardless of whether a configuration is loaded.
in case the animation references scene objects or objects that may no longer exist
it is useful to call setCameraAnimation(NULL) at the end