Click or drag to resize
AB4D logo

CameraNavigationCircles Methods

The CameraNavigationCircles type exposes the following members.

Methods
 NameDescription
Public methodCustomizeAxes(Vector3D, Vector3D, Vector3D) CustomizeAxes customizes the show axes with specify custom axis orientation.
Public methodCustomizeAxes(String, String, Color, Vector3D, String, String, Color, Vector3D, String, String, Color, Vector3D) CustomizeAxes customizes the show axes with specify custom Vector3D, axis name and axis color for each axis. To customize axis length, set AxisLength3D before calling this method.
Public methodOnApplyTemplate OnApplyTemplate
(Overrides FrameworkElementOnApplyTemplate)
Protected methodOnAxisClicked OnAxisClicked
Protected methodOnAxisDeselected(String, Vector3D) OnAxisDeselected
Protected methodOnAxisDeselected(String, Boolean, Boolean, Brush, Line, Shape, TextBlock) OnAxisDeselected method is called after initialization and when the axis is not longer selected by the mouse. This method can be overridden in a derived class to customize the behaviour.
Protected methodOnAxisSelected(String, Vector3D) OnAxisSelected
Protected methodOnAxisSelected(String, Boolean, Boolean, Brush, Line, Shape, TextBlock) OnAxisSelected method is called when the axis is selected by the mouse. This method can be overridden in a derived class to customize the behaviour.
Protected methodOnBackgroundCircleEnter OnBackgroundCircleEnter
Protected methodOnBackgroundCircleLeave OnBackgroundCircleEnter
Protected methodOnControlUpdated OnControlUpdated
Protected methodOnCreateAxisCircle OnCreateAxisCircle method creates an Ellipse shape that will show the circle behind the axis name. This method can be overridden in a derived class to create a different Shape (note: the created Shape should have IsHitTestVisible set to false).
Protected methodOnCreateAxisLine OnCreateAxisLine method creates a TextBlock that will show the axis name (for example "X" or "-X"). This method can be overridden in a derived class to customize the behaviour (note: the created Line should have IsHitTestVisible set to false).
Protected methodOnCreateAxisNameTextBlock OnCreateAxisNameTextBlock method creates a TextBlock that will show the axis name (for example "X" or "-X") This method can be overridden in a derived class to customize the behaviour (note: the created TextBlock should have IsHitTestVisible set to false).
Protected methodOnMouseEnter OnMouseEnter method is called when the mouse enters the circular area of the CameraNavigationCircles. This method can be overridden in a derived class to customize the behaviour.
Protected methodOnMouseLeave OnMouseLeave method is called when the mouse leaves the circular area of the CameraNavigationCircles. This method can be overridden in a derived class to customize the behaviour.
Protected methodOnTargetCameraChanged OnTargetCameraChanged
(Overrides BaseControllerControlOnTargetCameraChanged(BaseCamera, BaseCamera))
Public methodUseYUpAxis

UseYUpAxis method calls the CustomizeAxes method with the following parameters: xAxisVector: new Vector3D(1, 0, 0), yAxisVector: new Vector3D(0, 1, 0), zAxisVector: new Vector3D(0, 0, 1)

This sets common WPF 3D axis with the Y axis up and Z axis away from the screen.

Public methodUseZUpAxis

UseZUpAxis method calls the CustomizeAxes method with the following parameters: xAxisVector: new Vector3D(1, 0, 0), yAxisVector: new Vector3D(0, 0, -1), zAxisVector: new Vector3D(0, 1, 0)

This sets the Z axis up and Y axis into the screen.

Top
See Also