C# Class Axiom.Samples.SdkCameraManager

Utility class for controlling the camera in samples.
Datei anzeigen 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_oe property

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

mGoingBack protected_oe property

protected bool mGoingBack
return bool

mGoingDown protected_oe property

protected bool mGoingDown
return bool

mGoingForward protected_oe property

protected bool mGoingForward
return bool

mGoingLeft protected_oe property

protected bool mGoingLeft
return bool

mGoingRight protected_oe property

protected bool mGoingRight
return bool

mGoingUp protected_oe property

protected bool mGoingUp
return bool

mName protected_oe property

protected string mName
return string

mOrbiting protected_oe property

protected bool mOrbiting
return bool

mStyle protected_oe property

protected CameraStyle mStyle
return CameraStyle

mTarget protected_oe property

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

mVelocity protected_oe property

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

mZooming protected_oe property

protected bool mZooming
return bool