Click or drag to resize
Ab4d.SharpEngine logo

IFreeCamera Interface

IFreeCamera interface defines a camera with UpDirection and RotationUpAxis properties.

Namespace: Ab4d.SharpEngine.Cameras
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public interface IFreeCamera : ITargetPositionCamera, 
	ICameraPositionCamera

The IFreeCamera type exposes the following members.

Properties
 NameDescription
Public propertyRotationUpAxis Gets or sets a nullable Vector3 that can specify a custom rotation up axis that is used to when camera is rotated "horizontally" (e.g when user drags the mouse horizontally). When RotationUpAxis is not set (is null) then camera rotates around the current camera's UpDirection. This provides the standard free camera experience and is the default setting.
Public propertyUpDirection Gets the camera the up direction as Vector3.
Top
See Also