Click or drag to resize
AB4D logo

TargetRect3DCamera Class

TargetRect3DCamera is a camera that instead of looking at a position defined by the Point3D looks at a position defined by the Rect3D.
Inheritance Hierarchy

Namespace:  Ab3d.Cameras
Assembly:  Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 10.0.8000.1045
Syntax
C#
public class TargetRect3DCamera : BaseTargetRect3DCamera

The TargetRect3DCamera type exposes the following members.

Constructors
  NameDescription
Public methodTargetRect3DCamera
Constructor
Top
Properties
  NameDescription
Public propertyTargetRect3D
Gets or sets the Rect3D that is used as a camera target - the camera is looking at the TargetRect3D.
Top
Remarks

If the IsDistancePercent property is true, the Distance property is specified as percentage of the size of the TargetRect3D.

The TargetRect3DCamera also defines a IsDynamicTarget property that can be set to true to constantly (CompositionTarget.Rendering event) monitor the position and size of the TargetRect3D and move the camera according to the change.

See Also