public class CameraControlPanel : BaseControllerControl
Thetype exposes the following members.
Gets or sets the amount of time, in milliseconds, the buttons on CameraControlPanel wait while they begin to repeatedly change the camera. Default value is 250.
Gets or sets the amount of time, in milliseconds, between repeats once repeating starts.
When MoveAmount is set to a value that is not 0 or double.NaN, then the camera is moved for this value when the left, right, up or down button is pressed. When MoveAmount is 0 or NaN, then the move amount is calculated based on the current camera's Distance or CameraWidth and the size of the Viewport3D. Default value is 0.
Gets or sets the value that is used on each Change Interval to move the camera forward or backward. The value is multiplied with the current Camera Distance. Default value is 1.05.
Gets or sets the value in degrees that is used on each Change Interval to rotate the camera. Default value is 5.
Gets or sets a Boolean that specifies if the move buttons are shown. Default value is false.
Gets or sets a Boolean that specifies if the rotate buttons are shown. Default value is true.
Gets or sets a Boolean that specifies if the move forward and move backward buttons are shown. Default value is true.
ChangeCameraDistance method change the distance of the TargetCamera by multiplying it by the changeFactor
GetSelectedBitmapForImageName method gets the Selected BitmapSource for the Image with imageName. If null is returned, the original image is not changed.
GetUnSelectedBitmapForImageName method gets the Un-Selected BitmapSource for the Image with imageName. If null is returned, the original image is not changed.
MoveCamera method moves the camera for the mouse change defined by offsetXChange and offsetYChange parameters.
RotateCamera method rotates the camera for the mouse change defined by headingChange and attitudeChange parameters.
SubscribeImageEvents method subscribes mouse events to Images used in CameraControlPanel
UpdateShownButtons method shows or hides the shown buttons based on the ShowMoveButtons, ShowRotateButtons and ShowZoomButtons properties.
Canvas that hosts move buttons
move down Image
move left Image
move right Image
move up Image
StackPanel control that hosts all three Canvases
Canvas that hosts rotate buttons
rotate down Image
rotate left Image
rotate right Image
rotate up Image
Canvas that hosts zoom buttons
If the Ab3d.Camera is not set manually and the IsAutoCameraFindingEnabled property is set to true, the contoller try to find the first Ab3d.Camera by looking at controls parents.