Click or drag to resize
AB4D logo

CameraTargetPositionAdorner Class

CameraTargetPositionAdorner is an adorner that is used to show the camera target position around which the camera is rotated. To position this adorner set the Position property. The other properties that define the size and color of the adorner must be defined before this adorner is shown (to change the shape, create a new instance of CameraTargetPositionAdorner, change the properties and then assign the new adorner to MouseCameraController).
Inheritance Hierarchy
SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.MediaVisual
        System.WindowsUIElement
          System.WindowsFrameworkElement
            System.Windows.DocumentsAdorner
              Ab3d.CommonCameraTargetPositionAdorner

Namespace: Ab3d.Common
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public class CameraTargetPositionAdorner : Adorner

The CameraTargetPositionAdorner type exposes the following members.

Constructors
 NameDescription
Public methodCameraTargetPositionAdorner Constructor
Top
Properties
 NameDescription
Public propertyInnerBrush InnerBrush. To change this property, create a new instance of CameraTargetPositionAdorner and change the property before the CameraTargetPositionAdorner is shown.
Public propertyInnerRadius InnerRadius. To change this property, create a new instance of CameraTargetPositionAdorner and change the property before the CameraTargetPositionAdorner is shown.
Public propertyLinesLength LinesLength. To change this property, create a new instance of CameraTargetPositionAdorner and change the property before the CameraTargetPositionAdorner is shown.
Public propertyMainBrush MainBrush. To change this property, create a new instance of CameraTargetPositionAdorner and change the property before the CameraTargetPositionAdorner is shown.
Public propertyMainCircleThickness MainCircleThickness. To change this property, create a new instance of CameraTargetPositionAdorner and change the property before the CameraTargetPositionAdorner is shown.
Public propertyOuterCircleThickness OuterCircleThickness. To change this property, create a new instance of CameraTargetPositionAdorner and change the property before the CameraTargetPositionAdorner is shown.
Public propertyPosition Gets or sets the camera target position (in the 2D coordinate system of Viewport3D element)
Public propertyRadius Radius. To change this property, create a new instance of CameraTargetPositionAdorner and change the property before the CameraTargetPositionAdorner is shown.
Top
Methods
 NameDescription
Protected methodOnRenderWhen overridden in a derived class, participates in rendering operations that are directed by the layout system. The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing.
(Overrides UIElementOnRender(DrawingContext))
Top
Fields
 NameDescription
Public fieldStatic memberPositionProperty PositionProperty
Top
See Also