C# Class MonoGdx.Graphics.Camera

Show file Open project: jaquadro/MonoGdx Class Usage Examples

Public Methods

Method Description
Camera ( GraphicsDevice graphicsDevice ) : System
LookAt ( Vector3 target ) : void
LookAt ( float x, float y, float z ) : void
NormalizeUp ( ) : void
PickRay ( Vector2 vec ) : Microsoft.Xna.Framework.Ray
PickRay ( Vector2 vec, float viewportX, float viewportY, float viewportWidth, float viewportHeight ) : Microsoft.Xna.Framework.Ray
PickRay ( float x, float y ) : Microsoft.Xna.Framework.Ray
PickRay ( float x, float y, float viewportX, float viewportY, float viewportWidth, float viewportHeight ) : Microsoft.Xna.Framework.Ray
Project ( Vector3 vec ) : Vector3
Project ( Vector3 vec, float viewportX, float viewportY, float viewportWidth, float viewportHeight ) : Vector3
Rotate ( Matrix transform ) : void
Rotate ( Microsoft.Xna.Framework.Quaternion quat ) : void
Rotate ( Vector3 axis, float angle ) : void
Rotate ( float angle, float axisX, float axisY, float axisZ ) : void
RotateAround ( Vector3 point, Vector3 axis, float angle ) : void
Transform ( Matrix transform ) : void
Translate ( Vector3 vec ) : void
Translate ( float x, float y, float z ) : void
Unproject ( Vector3 vec ) : Vector3
Unproject ( Vector3 vec, float viewportX, float viewportY, float viewportWidth, float viewportHeight ) : Vector3
Update ( ) : void
Update ( bool updateFrustum ) : void

Private Methods

Method Description
Apply ( ) : void

Method Details

Camera() public method

public Camera ( GraphicsDevice graphicsDevice ) : System
graphicsDevice GraphicsDevice
return System

LookAt() public method

public LookAt ( Vector3 target ) : void
target Vector3
return void

LookAt() public method

public LookAt ( float x, float y, float z ) : void
x float
y float
z float
return void

NormalizeUp() public method

public NormalizeUp ( ) : void
return void

PickRay() public method

public PickRay ( Vector2 vec ) : Microsoft.Xna.Framework.Ray
vec Vector2
return Microsoft.Xna.Framework.Ray

PickRay() public method

public PickRay ( Vector2 vec, float viewportX, float viewportY, float viewportWidth, float viewportHeight ) : Microsoft.Xna.Framework.Ray
vec Vector2
viewportX float
viewportY float
viewportWidth float
viewportHeight float
return Microsoft.Xna.Framework.Ray

PickRay() public method

public PickRay ( float x, float y ) : Microsoft.Xna.Framework.Ray
x float
y float
return Microsoft.Xna.Framework.Ray

PickRay() public method

public PickRay ( float x, float y, float viewportX, float viewportY, float viewportWidth, float viewportHeight ) : Microsoft.Xna.Framework.Ray
x float
y float
viewportX float
viewportY float
viewportWidth float
viewportHeight float
return Microsoft.Xna.Framework.Ray

Project() public method

public Project ( Vector3 vec ) : Vector3
vec Vector3
return Vector3

Project() public method

public Project ( Vector3 vec, float viewportX, float viewportY, float viewportWidth, float viewportHeight ) : Vector3
vec Vector3
viewportX float
viewportY float
viewportWidth float
viewportHeight float
return Vector3

Rotate() public method

public Rotate ( Matrix transform ) : void
transform Matrix
return void

Rotate() public method

public Rotate ( Microsoft.Xna.Framework.Quaternion quat ) : void
quat Microsoft.Xna.Framework.Quaternion
return void

Rotate() public method

public Rotate ( Vector3 axis, float angle ) : void
axis Vector3
angle float
return void

Rotate() public method

public Rotate ( float angle, float axisX, float axisY, float axisZ ) : void
angle float
axisX float
axisY float
axisZ float
return void

RotateAround() public method

public RotateAround ( Vector3 point, Vector3 axis, float angle ) : void
point Vector3
axis Vector3
angle float
return void

Transform() public method

public Transform ( Matrix transform ) : void
transform Matrix
return void

Translate() public method

public Translate ( Vector3 vec ) : void
vec Vector3
return void

Translate() public method

public Translate ( float x, float y, float z ) : void
x float
y float
z float
return void

Unproject() public method

public Unproject ( Vector3 vec ) : Vector3
vec Vector3
return Vector3

Unproject() public method

public Unproject ( Vector3 vec, float viewportX, float viewportY, float viewportWidth, float viewportHeight ) : Vector3
vec Vector3
viewportX float
viewportY float
viewportWidth float
viewportHeight float
return Vector3

Update() public abstract method

public abstract Update ( ) : void
return void

Update() public abstract method

public abstract Update ( bool updateFrustum ) : void
updateFrustum bool
return void