Click or drag to resize
AB4D logo

TargetPositionCameraRotationCenterPosition Property

Gets or sets a nullable Point3D that can specify a custom 3D position around which this TargetPositionCamera is rotated. Rotation around custom center position changes the camera angles (Heading and Attitude) and also TargetPosition. When RotationCenterPosition is null, the rotation is done with changing only Heading and Attitude properties.

Namespace: Ab3d.Cameras
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
public Point3D? RotationCenterPosition { get; set; }

Property Value

NullablePoint3D
Remarks

RotationCenterPosition gets or sets a nullable Point3D that can specify a custom 3D position around which this TargetPositionCamera is rotated.

Rotation around custom center position changes the camera angles (Heading and Attitude) and also TargetPosition.

When RotationCenterPosition is null, the rotation is done with changing only Heading and Attitude properties. In this case that the scene is rotated around TargetPosition which is shown at the center of Viewport3D.

The difference between RotationCenterPosition and TargetPosition is that TargetPosition is a 3D position that the camera is looking at and is always in the center of Viewport3D.

See Also