# A3DPDFActionStartAnimationData

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.

  s

  > 10.0

  ## Index

  Variables

  - `m_p3DAnnot`
  - `m_pcAnimName`
  - `m_iAnimIndex`
  - `m_bIsNativeAnimation`
  - `m_dStartTime`
  - `m_dEndTime`

Variables

A3DPDF3DAnnot *`A3DPDFActionStartAnimationData.``m_p3DAnnot`
  `A3DPDF3DAnnot`*

  The 3D annotation that holds the animations.

A3DUTF8Char *`A3DPDFActionStartAnimationData.``m_pcAnimName`
  `A3DUTF8Char`*

  Name identifier of the animation in the 3D annotation.

A3DInt32 `A3DPDFActionStartAnimationData.``m_iAnimIndex`
  `A3DInt32`

  Index identifier of the animation in the 3D annotation.

A3DBool `A3DPDFActionStartAnimationData.``m_bIsNativeAnimation`
  `A3DBool`

  True if the animation is natively stored into the Artwork.

  The only situation currently supported for this scenario is a U3D file with a U3D native animation embedded.

A3DDouble `A3DPDFActionStartAnimationData.``m_dStartTime`
  `A3DDouble`

  Time where to start the animation (in seconds).

A3DDouble `A3DPDFActionStartAnimationData.``m_dEndTime`
  `A3DDouble`

  Time where to end the animation (in seconds).

  If the value is -1., the animation runs until its end.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Exchange in your own language, or choose a sample question below to start a conversation:

What is HOOPS Exchange?
What are the latest release notes for HOOPS Exchange?
How do I start evaluating HOOPS Exchange?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...