public class VgAnimationDescriptor extends VgReferenced
Modifier and Type | Method and Description |
---|---|
static VgAnimationDescriptorRefPtr |
create()
This static method returns a new heap-allocated descriptor.
|
void |
delete() |
VgIAnimationCallbackRefPtr |
getMCallback()
Pointer to the callback to notify when the animation finishes.
|
float |
getMDuration()
Animation duration in seconds (default is 1 second).
|
VgFunctorDescriptorMap |
getMFunctorDescriptors()
This map associates a spatial (by name) an animation target (by name)
and a functor descriptor that will be used to instantiate the real
functors.
|
long |
getMLoopMode()
Flag to set up a looping animation (default is no loop).
|
void |
setMCallback(VgIAnimationCallbackRefPtr value)
Pointer to the callback to notify when the animation finishes.
|
void |
setMDuration(float value)
Animation duration in seconds (default is 1 second).
|
void |
setMFunctorDescriptors(VgFunctorDescriptorMap value)
This map associates a spatial (by name) an animation target (by name)
and a functor descriptor that will be used to instantiate the real
functors.
|
void |
setMLoopMode(long value)
Flag to set up a looping animation (default is no loop).
|
getNbReferences, ref, unref
public void delete()
delete
in class VgReferenced
public static VgAnimationDescriptorRefPtr create()
public void setMFunctorDescriptors(VgFunctorDescriptorMap value)
public VgFunctorDescriptorMap getMFunctorDescriptors()
public void setMDuration(float value)
public float getMDuration()
public void setMLoopMode(long value)
public long getMLoopMode()
public void setMCallback(VgIAnimationCallbackRefPtr value)
public VgIAnimationCallbackRefPtr getMCallback()