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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
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