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: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
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