C# 클래스 Axiom.Samples.SdkSample

Base SDK sample class. Includes default player camera and SDK trays.
상속: Sample
파일 보기 프로젝트 열기: WolfgangSt/axiom

보호된 프로퍼티들

프로퍼티 타입 설명
Camera Axiom.Core.Camera
CameraManager SdkCameraManager
CursorWasVisible bool
DetailsPanel ParamsPanel
TrayManager SdkTrayManager
Viewport Axiom.Core.Viewport

공개 메소드들

메소드 설명
FrameRenderingQueued ( FrameEventArgs evt ) : bool

KeyPressed ( SharpInputSystem evt ) : bool

KeyReleased ( SharpInputSystem evt ) : bool

MouseMoved ( SharpInputSystem evt ) : bool

IMPORTANT: When overriding this handler, remember to allow the tray manager to filter out any interface-related mouse events before processing them in your scene. If the tray manager handler returns true, the event was meant for the trays, not you.

MousePressed ( SharpInputSystem evt, SharpInputSystem id ) : bool

IMPORTANT: When overriding this handler, remember to allow the tray manager to filter out any interface-related mouse events before processing them in your scene. If the tray manager handler returns true, the event was meant for the trays, not you.

MouseReleased ( SharpInputSystem evt, SharpInputSystem id ) : bool

IMPORTANT: When overriding this handler, remember to allow the tray manager to filter out any interface-related mouse events before processing them in your scene. If the tray manager handler returns true, the event was meant for the trays, not you.

RestoreState ( NameValuePairList state ) : void

Automatically restores position and orientation for free-look cameras.

SaveState ( NameValuePairList state ) : void

Automatically saves position and orientation for free-look cameras.

SdkSample ( ) : System
Shutdown ( ) : void

Unpaused ( ) : void

Manually update the cursor position after being unpaused.

WindowResized ( Axiom.Graphics.RenderWindow rw ) : void

보호된 메소드들

메소드 설명
Setup ( Axiom.Graphics.RenderWindow window, SharpInputSystem keyboard, SharpInputSystem mouse ) : void

Extendeded to setup a default tray interface and camera controller.

SetupView ( ) : void

메소드 상세

FrameRenderingQueued() 공개 메소드

public FrameRenderingQueued ( FrameEventArgs evt ) : bool
evt FrameEventArgs
리턴 bool

KeyPressed() 공개 메소드

public KeyPressed ( SharpInputSystem evt ) : bool
evt SharpInputSystem
리턴 bool

KeyReleased() 공개 메소드

public KeyReleased ( SharpInputSystem evt ) : bool
evt SharpInputSystem
리턴 bool

MouseMoved() 공개 메소드

IMPORTANT: When overriding this handler, remember to allow the tray manager to filter out any interface-related mouse events before processing them in your scene. If the tray manager handler returns true, the event was meant for the trays, not you.
public MouseMoved ( SharpInputSystem evt ) : bool
evt SharpInputSystem
리턴 bool

MousePressed() 공개 메소드

IMPORTANT: When overriding this handler, remember to allow the tray manager to filter out any interface-related mouse events before processing them in your scene. If the tray manager handler returns true, the event was meant for the trays, not you.
public MousePressed ( SharpInputSystem evt, SharpInputSystem id ) : bool
evt SharpInputSystem
id SharpInputSystem
리턴 bool

MouseReleased() 공개 메소드

IMPORTANT: When overriding this handler, remember to allow the tray manager to filter out any interface-related mouse events before processing them in your scene. If the tray manager handler returns true, the event was meant for the trays, not you.
public MouseReleased ( SharpInputSystem evt, SharpInputSystem id ) : bool
evt SharpInputSystem
id SharpInputSystem
리턴 bool

RestoreState() 공개 메소드

Automatically restores position and orientation for free-look cameras.
public RestoreState ( NameValuePairList state ) : void
state NameValuePairList
리턴 void

SaveState() 공개 메소드

Automatically saves position and orientation for free-look cameras.
public SaveState ( NameValuePairList state ) : void
state NameValuePairList
리턴 void

SdkSample() 공개 메소드

public SdkSample ( ) : System
리턴 System

Setup() 보호된 메소드

Extendeded to setup a default tray interface and camera controller.
protected Setup ( Axiom.Graphics.RenderWindow window, SharpInputSystem keyboard, SharpInputSystem mouse ) : void
window Axiom.Graphics.RenderWindow
keyboard SharpInputSystem
mouse SharpInputSystem
리턴 void

SetupView() 보호된 메소드

protected SetupView ( ) : void
리턴 void

Shutdown() 공개 메소드

public Shutdown ( ) : void
리턴 void

Unpaused() 공개 메소드

Manually update the cursor position after being unpaused.
public Unpaused ( ) : void
리턴 void

WindowResized() 공개 메소드

public WindowResized ( Axiom.Graphics.RenderWindow rw ) : void
rw Axiom.Graphics.RenderWindow
리턴 void

프로퍼티 상세

Camera 보호되어 있는 프로퍼티

Main Camera
protected Camera,Axiom.Core Camera
리턴 Axiom.Core.Camera

CameraManager 보호되어 있는 프로퍼티

Basic Camera Manager
protected SdkCameraManager,Axiom.Samples CameraManager
리턴 SdkCameraManager

CursorWasVisible 보호되어 있는 프로퍼티

Was the cursor visible before dialog appeared
protected bool CursorWasVisible
리턴 bool

DetailsPanel 보호되어 있는 프로퍼티

Simple Details Panel
protected ParamsPanel,Axiom.Samples DetailsPanel
리턴 ParamsPanel

TrayManager 보호되어 있는 프로퍼티

Tray Interface Manager
protected SdkTrayManager,Axiom.Samples TrayManager
리턴 SdkTrayManager

Viewport 보호되어 있는 프로퍼티

Main Viewport
protected Viewport,Axiom.Core Viewport
리턴 Axiom.Core.Viewport