C# Class Axiom.Samples.SdkCameraManager

Utility class for controlling the camera in samples.
Show file Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
mCamera Axiom.Core.Camera
mGoingBack bool
mGoingDown bool
mGoingForward bool
mGoingLeft bool
mGoingRight bool
mGoingUp bool
mName string
mOrbiting bool
mStyle CameraStyle
mTarget Axiom.Core.SceneNode
mVelocity Axiom.Math.Vector3
mZooming bool

Public Methods

Method Description
SdkCameraManager ( Camera cam ) : Axiom.Core
SetYawPitchDist ( Radian yaw, Radian pitch, Real dist ) : void

Sets the spatial offset from the target. Only applies for orbit style.

frameRenderingQueued ( FrameEventArgs evt ) : bool
getStyle ( ) : CameraStyle
injectKeyDown ( SharpInputSystem evt ) : void
injectKeyUp ( SharpInputSystem evt ) : void
injectMouseDown ( SharpInputSystem evt, SharpInputSystem id ) : void
injectMouseMove ( SharpInputSystem evt ) : void
injectMouseUp ( SharpInputSystem evt, SharpInputSystem id ) : void
manualStop ( ) : void
setStyle ( CameraStyle style ) : void

Method Details

SdkCameraManager() public method

public SdkCameraManager ( Camera cam ) : Axiom.Core
cam Axiom.Core.Camera
return Axiom.Core

SetYawPitchDist() public method

Sets the spatial offset from the target. Only applies for orbit style.
public SetYawPitchDist ( Radian yaw, Radian pitch, Real dist ) : void
yaw Radian
pitch Radian
dist Real
return void

frameRenderingQueued() public method

public frameRenderingQueued ( FrameEventArgs evt ) : bool
evt Axiom.Core.FrameEventArgs
return bool

getStyle() public method

public getStyle ( ) : CameraStyle
return CameraStyle

injectKeyDown() public method

public injectKeyDown ( SharpInputSystem evt ) : void
evt SharpInputSystem
return void

injectKeyUp() public method

public injectKeyUp ( SharpInputSystem evt ) : void
evt SharpInputSystem
return void

injectMouseDown() public method

public injectMouseDown ( SharpInputSystem evt, SharpInputSystem id ) : void
evt SharpInputSystem
id SharpInputSystem
return void

injectMouseMove() public method

public injectMouseMove ( SharpInputSystem evt ) : void
evt SharpInputSystem
return void

injectMouseUp() public method

public injectMouseUp ( SharpInputSystem evt, SharpInputSystem id ) : void
evt SharpInputSystem
id SharpInputSystem
return void

manualStop() public method

public manualStop ( ) : void
return void

setStyle() public method

public setStyle ( CameraStyle style ) : void
style CameraStyle
return void

Property Details

mCamera protected property

protected Camera,Axiom.Core mCamera
return Axiom.Core.Camera

mGoingBack protected property

protected bool mGoingBack
return bool

mGoingDown protected property

protected bool mGoingDown
return bool

mGoingForward protected property

protected bool mGoingForward
return bool

mGoingLeft protected property

protected bool mGoingLeft
return bool

mGoingRight protected property

protected bool mGoingRight
return bool

mGoingUp protected property

protected bool mGoingUp
return bool

mName protected property

protected string mName
return string

mOrbiting protected property

protected bool mOrbiting
return bool

mStyle protected property

protected CameraStyle mStyle
return CameraStyle

mTarget protected property

protected SceneNode,Axiom.Core mTarget
return Axiom.Core.SceneNode

mVelocity protected property

protected Vector3,Axiom.Math mVelocity
return Axiom.Math.Vector3

mZooming protected property

protected bool mZooming
return bool