C# Class MonoGdx.Graphics.OrthographicCamera

Inheritance: Camera
ファイルを表示 Open project: jaquadro/MonoGdx Class Usage Examples

Public Methods

Method Description
FindDirectionForIsoView ( float targetAngle, float epsilon, int maxIterations ) : void
OrthographicCamera ( GraphicsDevice graphicsDevice ) : System
OrthographicCamera ( GraphicsDevice graphicsDevice, float viewportWidth, float viewportHeight ) : System
OrthographicCamera ( GraphicsDevice graphicsDevice, float viewportWidth, float viewportHeight, float diamondAngle ) : System
Rotate ( float angle ) : void
ToOrtho ( bool yDown ) : void
ToOrtho ( bool yDown, float viewportWidth, float viewportHeight ) : void
Translate ( Vector2 vec ) : void
Translate ( float x, float y ) : void
Update ( ) : void
Update ( bool updateFrustum ) : void

Private Methods

Method Description
CalculateAngle ( float a ) : float
CalculateDirection ( float angle ) : Vector3

Method Details

FindDirectionForIsoView() public method

public FindDirectionForIsoView ( float targetAngle, float epsilon, int maxIterations ) : void
targetAngle float
epsilon float
maxIterations int
return void

OrthographicCamera() public method

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

OrthographicCamera() public method

public OrthographicCamera ( GraphicsDevice graphicsDevice, float viewportWidth, float viewportHeight ) : System
graphicsDevice GraphicsDevice
viewportWidth float
viewportHeight float
return System

OrthographicCamera() public method

public OrthographicCamera ( GraphicsDevice graphicsDevice, float viewportWidth, float viewportHeight, float diamondAngle ) : System
graphicsDevice GraphicsDevice
viewportWidth float
viewportHeight float
diamondAngle float
return System

Rotate() public method

public Rotate ( float angle ) : void
angle float
return void

ToOrtho() public method

public ToOrtho ( bool yDown ) : void
yDown bool
return void

ToOrtho() public method

public ToOrtho ( bool yDown, float viewportWidth, float viewportHeight ) : void
yDown bool
viewportWidth float
viewportHeight float
return void

Translate() public method

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

Translate() public method

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

Update() public method

public Update ( ) : void
return void

Update() public method

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