Click or drag to resize
AB4D logo

CameraPreviewPanel Class

CameraPreviewPanel is a predefined panel that shows the angle at which the camera is looking at its target object. It is shown as a 3D Camera that looks at a 3D Sphere at the center.
Inheritance Hierarchy
SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.MediaVisual
        System.WindowsUIElement
          System.WindowsFrameworkElement
            System.Windows.ControlsControl
              Ab3d.ControlsBaseControllerControl
                Ab3d.ControlsCameraPreviewPanel

Namespace: Ab3d.Controls
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public class CameraPreviewPanel : BaseControllerControl

The CameraPreviewPanel type exposes the following members.

Constructors
 NameDescription
Public methodCameraPreviewPanel Constructor
Top
Properties
 NameDescription
Public propertyCenterObjectModel3D Gets or sets Model3D object around which the camera will rotate. By default a yellow sphere is shown.
Top
Methods
Events
 NameDescription
Public eventAfterUpdated AfterUpdated event is called after the shown elements were updated because the camera or some other property was changed.
Top
Fields
 NameDescription
Protected fieldattitudeCameraRotation AxisAngleRotation3D used to rotate the camera for the attitude angle
Protected fieldbankCameraRotation AxisAngleRotation3D used to rotate the camera for the bank angle
Protected fieldcameraGroup cameraGroup as Model3DGroup
Protected fieldcenterObjectGroup centerObjectGroup as Model3DGroup
Protected fieldheadingCameraRotation AxisAngleRotation3D used to rotate the camera for the heading angle
Protected fieldmainViewport3D mainViewport3D
Top
See Also