# A3DPDF3DNodeSceneSetZoomOnBehaviour

A3DStatus `A3DPDF3DNodeSceneSetZoomOnBehaviour`(A3DPDF3DNodeScene *p3DNodeScene, A3DPDFEWidgetTargetBehaviour eBehaviour, A3DBool bEnableZoom)
  `A3DStatus` A3DPDF3DNodeSceneSetZoomOnBehaviour(`A3DPDF3DNodeScene`* p3DNodeScene, `A3DPDFEWidgetTargetBehaviour` eBehaviour, `A3DBool` bEnableZoom)

  Function to set or unset a zoom action when the nodes are highlighted or selected on a 3DNodeScene widget.

  With it, depending on `eBehaviour`all highlighting or selections made on the 3D scene are followed by a zoom action if `bEnableZoom`is true, i.e. the camera is zoomed to the highlighted or selected nodes and the rotation center is moved to the center of the bounding box of these nodes. This mode is only available when interactivity is defined using datamodel and the `kA3DPDFDataHighlight`or `kA3DPDFDataSelect`target behaviour. An example is a scenario where you have a scroll table associated to a 3D nodes scene, with the target behaviour `kA3DPDFDataSelect`. When the end-user selects a row in the scroll table, the corresponding node is selected in the 3D nodes scene. Then, if bEnableZoom is set to true, the camera zooms to the node. If bEnableZoom is set to false, there is no camera zoom.

  Parameters

  > p3DNodeScene: The 3D widget to work with.

  > eBehaviour: The behaviour. Supported values are kA3DPDFDataHighlight or kA3DPDFDataSelect

  > bEnableZoom: If true, activate the zoom.

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