# A3DPDFViewData

struct `A3DPDFViewData`

  Structure to define a Camera View.

  > 4.1

  ## Index

  Variables

  - `m_pcInternalName`
  - `m_pcExternalName`
  - `m_sPosition`
  - `m_sTarget`
  - `m_sUpVector`
  - `m_dZoomFactor`
  - `m_bIsDefault`
  - `m_sViewBackgroundColor`
  - `m_eViewLighting`
  - `m_eViewRenderingStyle`
  - `m_eProjectionMode`
  - `m_dFieldOfView`

Variables

A3DUTF8Char *`A3DPDFViewData.``m_pcInternalName`
  `A3DUTF8Char`*

  Internal name of the view.

A3DUTF8Char *`A3DPDFViewData.``m_pcExternalName`
  `A3DUTF8Char`*

  External name of the view.

  This name is used in JavaScript functions.

A3DVector3dData `A3DPDFViewData.``m_sPosition`
  `A3DVector3dData`

  Camera position.

A3DVector3dData `A3DPDFViewData.``m_sTarget`
  `A3DVector3dData`

  Target position where the camera is looking at.

A3DVector3dData `A3DPDFViewData.``m_sUpVector`
  `A3DVector3dData`

  Camera up vector.

  It should be defined so that it is perpendicular to the vector created between the camera and target position. A non-perpendicular up vector results in a view which is tilting when it is activated in the Adobe PDF Reader.

A3DDouble `A3DPDFViewData.``m_dZoomFactor`
  `A3DDouble`

  This parameter is only applicable for orthographic cameras.

  It specifies the part of the scene that can be visualized and inversely acts as a zoom factor with the following relationship: [zoomfactor=1/2*view_size], with view_size as the smallest size of the viewable part in the X or Y direction.

A3DBool `A3DPDFViewData.``m_bIsDefault`
  `A3DBool`

  Specifies that this view should be the default view (the view used when the 3D is activated).

  Only one view should be defined by default.

A3DPDFRgbColorData `A3DPDFViewData.``m_sViewBackgroundColor`
  `A3DPDFRgbColorData`

  Display setting - background color for the view.

A3DPDFELighting `A3DPDFViewData.``m_eViewLighting`
  `A3DPDFELighting`

  Display setting - lighting for the view.

A3DPDFERenderingStyle `A3DPDFViewData.``m_eViewRenderingStyle`
  `A3DPDFERenderingStyle`

  Display setting - rendering style for the view.

A3DPDFEProjectionMode `A3DPDFViewData.``m_eProjectionMode`
  `A3DPDFEProjectionMode`

  Camera projection mode: orthographic or perspective.

A3DDouble `A3DPDFViewData.``m_dFieldOfView`
  `A3DDouble`

  This parameter is only applicable for perspective cameras.

  It specifies the field of view as an angle in degrees.

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...