Free |
public Vector3? RotationCenterPosition { get; set; }
RotationCenterPosition gets or sets a nullable Vector3 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 the view.