Class SpaceCamera
- Namespace
- OmegaEngine.Graphics.Cameras
- Assembly
- OmegaEngine.dll
A freely rotateable and moveable camera, like flying through space.
public class SpaceCamera : QuaternionCamera, IPositionable
- Inheritance
-
SpaceCamera
- Implements
- Inherited Members
- Extension Methods
Methods
PerspectiveChange(float, float, float, float)
Called when the user changes the view perspective.
public override void PerspectiveChange(float panX, float panY, float rotation, float zoom)
Parameters
panX
floatThe number of pixels panned along the X-axis divided by the number of pixels of the longest side of the viewport.
panY
floatThe number of pixels panned along the Y-axis divided by the number of pixels of the longest side of the viewport.
rotation
floatHorizontal rotation in degrees.
zoom
floatScaling factor; 1 for no change, must not be 0.