C# Класс Axiom.Samples.SdkSample

Base SDK sample class. Includes default player camera and SDK trays.
Наследование: Sample
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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