A3DPDFActionStartAnimationData
Fields
A3DPDF3DAnnot * |
m_p3DAnnot |
A3DUTF8Char * |
m_pcAnimName |
A3DInt32 |
m_iAnimIndex |
A3DBool |
m_bIsNativeAnimation |
A3DDouble |
m_dStartTime |
A3DDouble |
m_dEndTime |
Detailed Description
-
struct
A3DPDFActionStartAnimationData
Structure to define an action to start an animation on a 3D annotation.
This action is to start an animation on the 3D annotation. The animation can later be paused or resumed with other actions A3DPDFActionPauseAnimation and A3DPDFActionResumeAnimation.
The animation can be a native animation (typically in a U3D file), or an animation built with HOOPS Publish API (see Animation Module). This should be set with m_bIsNativeAnimation.
- A native (U3D) animation is identified with m_iAnimIndex, and [m_dStartTime, m_dEndTime]. Use m_dStartTime=0. and m_dEndTime=-1. to run all the animation.
- A HOOPS Publish animation is identified primarily by m_pcAnimName. If m_pcAnimName is NULL, then the animation is identified by its index (m_iAnimIndex). If m_iAnimIndex is -1, then the animation is run from m_dStartTime to m_dEndTime. Use m_dStartTime=0. and m_dEndTime=-1. to run all the animation.
- Version
- 10.0
Public Members
-
A3DPDF3DAnnot *
m_p3DAnnot
The 3D annotation that holds the animations.
-
A3DUTF8Char *
m_pcAnimName
Name identifier of the animation in the 3D annotation.