A3DPDF3DAnnotData

struct A3DPDF3DAnnotData

A3DPDF3DAnnotData structure: options for the 3D Annot behavior in the PDF.

4.1

Variables

A3DPDFEActivateWhen A3DPDF3DAnnotData.m_eActivateWhen

Option to specify when the 3D Annot should be activated.

A3DPDFEDesactivateWhen A3DPDF3DAnnotData.m_eDesactivateWhen

Option to specify when the 3D Annot should be deactivated.

A3DBool A3DPDF3DAnnotData.m_bShowToolbar

Option to show or not show the 3D toolbar when the 3D Annot is activated.

A3DBool A3DPDF3DAnnotData.m_bOpenModelTree

Option to show or not show the 3D model tree when the 3D Annot is activated.

A3DBool A3DPDF3DAnnotData.m_bDisableInteractivity

Option to enable or disable the interactivity on the 3D scene.

If disabled, only JavaScript actions can control the 3D Annot.

A3DInt32 A3DPDF3DAnnotData.m_iAppearanceBorderWidth

Border width in points.

A3DBool A3DPDF3DAnnotData.m_bTransparentBackground

If true, the background of the 3D window is transparent.

Warning, a transparent background leads to Adobe bugs in Adobe Reader or Acrobat: the 3D Annot can’t be printed, and the form fields are blinking when a field is triggered.

A3DPDFRgbColorData A3DPDF3DAnnotData.m_sBackgroundColor

Display setting - background color of the 3D scene.

Incompatible with m_bTransparentBackground. See A3DPDF3DArtworkData2::m_bUseRuntimeDisplaySettings to understand how this setting is applied.

A3DPDFELighting A3DPDF3DAnnotData.m_eLighting

Display setting - lighting of the 3D scene.

See A3DPDF3DArtworkData2::m_bUseRuntimeDisplaySettings to understand how this setting is applied.

A3DPDFERenderingStyle A3DPDF3DAnnotData.m_eRenderingStyle

Display setting - rendering style of the 3D scene.

See A3DPDF3DArtworkData2::m_bUseRuntimeDisplaySettings to understand how this setting is applied.

A3DPDF3DArtwork *A3DPDF3DAnnotData.m_p3DArtwork

Specifies the 3D Artwork object which contains the 3D definition.

A3DPDFImage *A3DPDF3DAnnotData.m_pPosterImage

Specifies a poster image to be displayed when the 3D Annot is not activated.

If null, a poster is automatically created from the default view. To disable this automatic generation of poster, specify a blank image file.

Important: HOOPS Exchange publish component uses the graphics driver of the user’s PC. By default, HOOPS Publish attempts to select the graphics driver in this order: DX11->DX9->OpenGL2->OpenGL. To override the default driver selection, set the A3DPOSTERDRV environment variable to one of the following values: DX11, DX9, OGL2, OGL1

A3DUTF8Char *A3DPDF3DAnnotData.m_pcName

Name of the 3D Annot.