Click or drag to resize
AB4D logo

CameraControlPanel Methods

The CameraControlPanel type exposes the following members.

Methods
 NameDescription
Public methodChangeCameraDistance ChangeCameraDistance method change the distance of the TargetCamera by multiplying it by the changeFactor
Protected methodGetSelectedBitmapForImageName GetSelectedBitmapForImageName method gets the Selected BitmapSource for the Image with imageName. If null is returned, the original image is not changed.
Protected methodGetUnSelectedBitmapForImageName GetUnSelectedBitmapForImageName method gets the Un-Selected BitmapSource for the Image with imageName. If null is returned, the original image is not changed.
Protected methodMeasureOverride MeasureOverride
(Overrides ControlMeasureOverride(Size))
Public methodMoveCamera MoveCamera method moves the camera for the mouse change defined by offsetXChange and offsetYChange parameters.
Public methodOnApplyTemplate OnApplyTemplate
(Overrides FrameworkElementOnApplyTemplate)
Public methodRotateCamera RotateCamera method rotates the camera for the mouse change defined by headingChange and attitudeChange parameters.
Protected methodSubscribeImageEvents SubscribeImageEvents method subscribes mouse events to Images used in CameraControlPanel
Protected methodUpdateShownButtons UpdateShownButtons method shows or hides the shown buttons based on the ShowMoveButtons, ShowRotateButtons and ShowZoomButtons properties.
Top
See Also