C# Class hyades.Camera

Mostrar archivo Open project: zfedoran/bubblebound Class Usage Examples

Public Properties

Property Type Description
boundingfrustum BoundingFrustum
fov float
pauseBoundingFrustumUpdates bool
position Vector3
view Matrix

Public Methods

Method Description
Camera ( ) : System
CreateCameraMatrix ( Vector3 &rotation, Matrix &matrix ) : void
CreateCameraMatrix ( Vector3 &rotation, Vector3 &position, Matrix &matrix ) : void
CullTest ( Microsoft.Xna.Framework.BoundingBox &aabb ) : bool
Project ( Vector3 source ) : Vector3
Update ( double elapsed ) : void

Private Methods

Method Description
WithinEpsilon ( float a, float b ) : bool

Method Details

Camera() public method

public Camera ( ) : System
return System

CreateCameraMatrix() public static method

public static CreateCameraMatrix ( Vector3 &rotation, Matrix &matrix ) : void
rotation Vector3
matrix Matrix
return void

CreateCameraMatrix() public static method

public static CreateCameraMatrix ( Vector3 &rotation, Vector3 &position, Matrix &matrix ) : void
rotation Vector3
position Vector3
matrix Matrix
return void

CullTest() public method

public CullTest ( Microsoft.Xna.Framework.BoundingBox &aabb ) : bool
aabb Microsoft.Xna.Framework.BoundingBox
return bool

Project() public method

public Project ( Vector3 source ) : Vector3
source Vector3
return Vector3

Update() public method

public Update ( double elapsed ) : void
elapsed double
return void

Property Details

boundingfrustum public_oe property

public BoundingFrustum boundingfrustum
return BoundingFrustum

fov public_oe property

public float fov
return float

pauseBoundingFrustumUpdates public_oe property

public bool pauseBoundingFrustumUpdates
return bool

position public_oe property

public Vector3 position
return Vector3

view public_oe property

public Matrix view
return Matrix