VisioMove SDK (Android)
2.1.22
|
Static Public Member Functions | |
static VgSpatialRefPtr | getNull () |
This class gives access to the spatial aspect of an object (layer, point, etc). The spatial aspect controls the object's position in scene space. It also enables animation features on spatial objects.
VgSpatialRefPtr.VgSpatialRefPtr | ( | ) |
VgSpatialRefPtr.VgSpatialRefPtr | ( | VgSpatial | pPointer | ) |
VgSpatialRefPtr.VgSpatialRefPtr | ( | VgSpatialRefPtr | pRefPtr | ) |
VgSpatialRefPtr.VgSpatialRefPtr | ( | VgLayerRefPtr | pRefPtr | ) |
VgSpatialRefPtr.VgSpatialRefPtr | ( | VgIGeometryRefPtr | pRefPtr | ) |
VgSpatialRefPtr.VgSpatialRefPtr | ( | VgPointRefPtr | pRefPtr | ) |
VgSpatialRefPtr.VgSpatialRefPtr | ( | VgLineRefPtr | pRefPtr | ) |
VgSpatial VgSpatialRefPtr.__deref__ | ( | ) |
VgSpatial VgSpatialRefPtr.__ref__ | ( | ) |
VgIGeometry VgSpatialRefPtr.asGeometry | ( | ) |
Casts this instance into a VgIGeometry.
VgLine VgSpatialRefPtr.asLine | ( | ) |
Casts this instance into a VgLine.
VgPoint VgSpatialRefPtr.asPoint | ( | ) |
Casts this instance into a VgPoint.
VgAnimationRefPtr VgSpatialRefPtr.editAnimation | ( | String | pName | ) |
Edits an animation from the spatial's animation map.
pName | The name of the animation to fetch. |
VgSpatial VgSpatialRefPtr.get | ( | ) |
VgAnimationConstRefPtr VgSpatialRefPtr.getAnimation | ( | String | pName | ) |
Gets an animation from the spatial's animation map.
pName | The name of the animation to fetch. |
VgValue VgSpatialRefPtr.getAnimationChannelValue | ( | String | pChannelName | ) |
Get the current value of a given animation channel.
pChannelName | The name of the channel. |
void VgSpatialRefPtr.getAnimationNames | ( | VgStringList | pNameList | ) |
Gets the list of the stored animation names.
pNameList | The list of strings to feed with the names. |
int VgSpatialRefPtr.getNbReferences | ( | ) |
|
static |
VgOrientation VgSpatialRefPtr.getOrientation | ( | ) |
Gets spatial's orientation.
VgPosition VgSpatialRefPtr.getPosition | ( | ) |
Gets spatial's position.
float VgSpatialRefPtr.getScale | ( | ) |
int VgSpatialRefPtr.getZIndex | ( | ) |
boolean VgSpatialRefPtr.isDrawnOnTop | ( | ) |
boolean VgSpatialRefPtr.isValid | ( | ) |
boolean VgSpatialRefPtr.isVisible | ( | ) |
void VgSpatialRefPtr.ref | ( | ) |
VgSpatialRefPtr VgSpatialRefPtr.set | ( | VgSpatial | pPointer | ) |
void VgSpatialRefPtr.setAnimation | ( | String | pAnimationName, |
VgAnimationRefPtr | pAnimation | ||
) |
Sets an animation on this spatial. As of version 2.0.8744, multiple animations can be set (and played) on a spatial at the same time. This is the reason why a name has to be provided along with the animation. If an animation already exists in the spatial with that name, the new one will replace the old one (and the previous one will one less reference to it).
pAnimationName | The name to associate the animation with in this spatial |
pAnimation | An animation to animate the spatial with. |
void VgSpatialRefPtr.setAnimation | ( | VgAnimationRefPtr | pAnimation | ) |
Sets an animation with an empty name on this spatial.
pAnimation | An animation to animate the spatial with. |
void VgSpatialRefPtr.setDrawOnTop | ( | boolean | pEnable | ) |
Sets the drawOnTop flag. The VgSpatial will be visible even if there are objects in front.
pEnable |
void VgSpatialRefPtr.setLocalAnimation | ( | VgAnimationRefPtr | pAnimation | ) |
Sets an animation on this spatial.
pAnimation | An animation to animate the spatial with. |
void VgSpatialRefPtr.setOrientation | ( | VgOrientation | pOrientation | ) |
Sets the spatial orientation.
pOrientation | The orientation to set on the spatial. |
void VgSpatialRefPtr.setPosition | ( | VgPosition | pPosition, |
boolean | pHaveGeographicCoherence | ||
) |
Sets the spatial position.
pPosition | The position to put the spatial at. |
pHaveGeographicCoherence | An optional parameter who by default is true. Is used to determine the geographic coherence of the spatial. If set to false, then the spatial will be coherent with the scene. |
void VgSpatialRefPtr.setPosition | ( | VgPosition | pPosition | ) |
void VgSpatialRefPtr.setScale | ( | float | pScale | ) |
Sets the spatial's scale.
pScale | The scale to set on the spatial. |
void VgSpatialRefPtr.setVisible | ( | boolean | pIsVisible | ) |
void VgSpatialRefPtr.setZIndex | ( | int | pZIndex | ) |
Sets the Z Index, an object with a smaller ZIndex will be drawn in front of another with a larger one.
pZIndex |
int VgSpatialRefPtr.unref | ( | ) |