Click or drag to resize
AB4D logo

MouseCameraControllerMoveOnlyHorizontally Property

When true he camera moving is restricted only to horizontal (XZ) plane. This means that the camera cannot be moved up and down. Default value is false that moves the camera based on the current look and up direction.

Namespace: Ab3d.Controls
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
public bool MoveOnlyHorizontally { get; set; }

Property Value

Boolean
Remarks

When MoveOnlyHorizontally is true he camera moving is restricted only to horizontal (XZ) plane. This means that the camera cannot be moved up and down.

Default value is false that moves the camera based on the current look and up direction.

By default the camera movement is not not restricted. This can move the center of rotation out of the XZ plane. When camera is then rotation, it could appear as the camera is rotated around some unexpected center of camera rotation (especially if all the objects lie on the same horizontal plane, but the center of camera rotation is above all the objects).

See Also