VisioMove SDK (Android)  2.1.22
 All Classes Functions Variables Pages
VgAnimationConstRefPtr Class Reference

Public Member Functions

 VgAnimationConstRefPtr ()
 
 VgAnimationConstRefPtr (VgAnimation pPointer)
 
 VgAnimationConstRefPtr (VgAnimationConstRefPtr pConstRefPtr)
 
VgAnimationConstRefPtr set (VgAnimation pPointer)
 
VgAnimation __ref__ ()
 
VgAnimation __deref__ ()
 
VgAnimation get ()
 
boolean isValid ()
 
boolean isPlaying ()
 
float getDuration ()
 
float getCursor ()
 
void ref ()
 
int unref ()
 
int getNbReferences ()
 

Static Public Member Functions

static VgAnimationConstRefPtr getNull ()
 

Detailed Description

This interface handles engine animations. Time management is done per-instance, this means that when the animation is started it applies to all objects using it.

Constructor & Destructor Documentation

VgAnimationConstRefPtr.VgAnimationConstRefPtr ( )
VgAnimationConstRefPtr.VgAnimationConstRefPtr ( VgAnimation  pPointer)
VgAnimationConstRefPtr.VgAnimationConstRefPtr ( VgAnimationConstRefPtr  pConstRefPtr)

Member Function Documentation

VgAnimation VgAnimationConstRefPtr.__deref__ ( )
VgAnimation VgAnimationConstRefPtr.__ref__ ( )
VgAnimation VgAnimationConstRefPtr.get ( )
float VgAnimationConstRefPtr.getCursor ( )

This method return the current cursor position in the animation's timeline.

Returns
The current animation's
float VgAnimationConstRefPtr.getDuration ( )

This method returns the duration of the animation (in seconds).

Returns
The animation's duration.
int VgAnimationConstRefPtr.getNbReferences ( )
static VgAnimationConstRefPtr VgAnimationConstRefPtr.getNull ( )
static
boolean VgAnimationConstRefPtr.isPlaying ( )

This method retruns a boolean value that tells whether the animation is currently playing.

Returns
True if the animation is playing, false if not.
boolean VgAnimationConstRefPtr.isValid ( )
void VgAnimationConstRefPtr.ref ( )
VgAnimationConstRefPtr VgAnimationConstRefPtr.set ( VgAnimation  pPointer)
int VgAnimationConstRefPtr.unref ( )

The documentation for this class was generated from the following file:
VisioMove 2.1.22, Visioglobe® 2016