C# 클래스 Axiom.Samples.SdkTrayManager

Main class to manage a cursor, backdrop, trays and widgets.
상속: ISdkTrayListener, IResourceGroupListener
파일 보기 프로젝트 열기: WolfgangSt/axiom 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
CursorWasVisible bool
Dialog TextBox
LoadBar Axiom.Samples.ProgressBar
Logo DecorWidget
Mouse SharpInputSystem.Mouse
StatsPanel ParamsPanel
backdrop Axiom.Overlays.OverlayElementContainer
backdropLayer Axiom.Overlays.Overlay
cursor Axiom.Overlays.OverlayElementContainer
cursorLayer Axiom.Overlays.Overlay
expandedMenu SelectMenu
groupInitProportion Real
groupLoadProportion Real
listener ISdkTrayListener
loadInc Real
mDialogShade Axiom.Overlays.OverlayElementContainer
mFpsLabel Label
mName String
mNo Axiom.Samples.Button
mOk Axiom.Samples.Button
mPriorityLayer Axiom.Overlays.Overlay
mTrayDrag bool
mTrayPadding Real
mTrays Axiom.Overlays.OverlayElementContainer[]
mTraysLayer Axiom.Overlays.Overlay
mWidgetDeathRow System.Collections.Generic.List
mWidgetPadding Real
mWidgetSpacing Real
mWidgets WidgetList[]
mWindow Axiom.Graphics.RenderWindow
mYes Axiom.Samples.Button
trayWidgetAlign HorizontalAlignment[]

공개 메소드들

메소드 설명
AdjustTrays ( ) : void

Fits trays to their contents and snaps them to their anchor locations.

CheckboxToggled ( CheckBox box ) : void

ClearAllTrays ( ) : void

Removes all widgets from all widget trays.

ClearTray ( TrayLocation trayLoc ) : void

Removes all widgets from a widget tray.

CloseDialog ( ) : void

Hides whatever dialog is currently showing.

CreateButton ( TrayLocation trayLoc, String name, String caption ) : Axiom.Samples.Button

CreateButton ( TrayLocation trayLoc, String name, String caption, Real width ) : Axiom.Samples.Button

CreateCheckBox ( TrayLocation trayLoc, String name, System.String caption ) : CheckBox

CreateCheckBox ( TrayLocation trayLoc, String name, System.String caption, Real width ) : CheckBox

CreateDecorWidget ( TrayLocation trayLoc, String name, String typeName, String templateName ) : DecorWidget

CreateLabel ( TrayLocation trayLoc, String name, System.String caption ) : Label

CreateLabel ( TrayLocation trayLoc, String name, System.String caption, Real width ) : Label

CreateLogoWidget ( TrayLocation trayLoc, String name, String typeName, String templateName ) : DecorWidget

CreateLongSelectMenu ( TrayLocation trayLoc, String name, System.String caption, Real width, Real boxWidth, int maxItemsShown ) : SelectMenu

CreateLongSelectMenu ( TrayLocation trayLoc, String name, System.String caption, Real width, Real boxWidth, int maxItemsShown, IList items ) : SelectMenu

CreateLongSlider ( TrayLocation trayLoc, String name, System.String caption, Real width, Real trackWidth, Real valueBoxWidth, Real minValue, Real maxValue, int snaps ) : Axiom.Samples.Slider

CreateLongSlider ( TrayLocation trayLoc, String name, System.String caption, Real trackWidth, Real valueBoxWidth, Real minValue, Real maxValue, int snaps ) : Axiom.Samples.Slider

CreateParamsPanel ( TrayLocation trayLoc, String name, Real width, IList paramNames ) : ParamsPanel

CreateParamsPanel ( TrayLocation trayLoc, String name, Real width, int lines ) : ParamsPanel

CreateProgressBar ( TrayLocation trayLoc, String name, System.String caption, Real width, Real commentBoxWidth ) : Axiom.Samples.ProgressBar

CreateSeparator ( TrayLocation trayLoc, String name ) : Separator

CreateSeparator ( TrayLocation trayLoc, String name, Real width ) : Separator

CreateTextBox ( TrayLocation trayLoc, String name, System.String caption, Real width, Real height ) : TextBox

CreateThickSelectMenu ( TrayLocation trayLoc, String name, System.String caption, Real width, int maxItemsShown ) : SelectMenu

CreateThickSelectMenu ( TrayLocation trayLoc, String name, System.String caption, Real width, int maxItemsShown, IList items ) : SelectMenu

CreateThickSlider ( TrayLocation trayLoc, String name, System.String caption, Real width, Real valueBoxWidth, Real minValue, Real maxValue, int snaps ) : Axiom.Samples.Slider

DestroyAllWidgets ( ) : void

Destroys all widgets.

DestroyAllWidgetsInTray ( TrayLocation trayLoc ) : void

Destroys all widgets in a tray.

DestroyWidget ( String name ) : void

Destroys a widget.

DestroyWidget ( TrayLocation trayLoc, String name ) : void

Destroys a widget.

DestroyWidget ( TrayLocation trayLoc, int place ) : void

Destroys a widget.

DestroyWidget ( Widget widget ) : void

Destroys a widget.

Dispose ( ) : void

Destroys background, cursor, widgets, and trays.

FrameRenderingQueued ( FrameEventArgs evt ) : bool

Process frame events. Updates frame statistics widget set and deletes all widgets queued for destruction.

GetCursorRay ( Camera cam ) : Ray

Returns a 3D ray into the scene that is directly underneath the cursor.

GetWidget ( String name ) : Widget

Gets a widget by name.

GetWidget ( TrayLocation trayLoc, String name ) : Widget

Gets a widget from a tray by name.

GetWidget ( TrayLocation trayLoc, int place ) : Widget

Gets a widget from a tray by place.

GetWidgetCount ( TrayLocation trayLoc ) : int

Gets the number of widgets in a tray.

GetWidgetEnumerator ( TrayLocation trayLoc ) : IEnumerator

Gets all the widgets of a specific tray.

HideAll ( ) : void

HideBackdrop ( ) : void

HideCursor ( ) : void

HideFrameStats ( ) : void

Hides frame statistics widget set.

HideLoadingBar ( ) : void

HideLogo ( ) : void

HideTrays ( ) : void

InjectMouseDown ( SharpInputSystem evt, SharpInputSystem id ) : bool

Processes mouse button down events. Returns true if the event was

consumed and should not be passed on to other handlers.

InjectMouseMove ( SharpInputSystem evt ) : bool

Updates cursor position. Returns true if the event was

consumed and should not be passed on to other handlers.

InjectMouseUp ( SharpInputSystem evt, SharpInputSystem id ) : bool

Processes mouse button up events. Returns true if the event was

consumed and should not be passed on to other handlers.

ItemSelected ( SelectMenu menu ) : void

LabelHit ( Label label ) : void

Toggles visibility of advanced statistics.

LocateWidgetInTray ( Widget widget ) : int

Gets a widget's position in its tray.

MoveWidgetToTray ( String name, TrayLocation trayLoc ) : void

Adds a widget to a specified tray.

MoveWidgetToTray ( String name, TrayLocation trayLoc, int place ) : void

Adds a widget to a specified tray.

MoveWidgetToTray ( TrayLocation currentTrayLoc, String name, TrayLocation targetTrayLoc ) : void

Adds a widget to a specified tray.

MoveWidgetToTray ( TrayLocation currentTrayLoc, String name, TrayLocation targetTrayLoc, int place ) : void

Adds a widget to a specified tray.

MoveWidgetToTray ( TrayLocation currentTrayLoc, int currentPlace, TrayLocation targetTrayLoc ) : void

Adds a widget to a specified tray.

MoveWidgetToTray ( TrayLocation currentTrayLoc, int currentPlace, TrayLocation targetTrayLoc, int targetPlace ) : void

Adds a widget to a specified tray.

MoveWidgetToTray ( Widget widget, TrayLocation trayLoc ) : void

Adds a widget to a specified tray.

MoveWidgetToTray ( Widget widget, TrayLocation trayLoc, int place ) : void

Adds a widget to a specified tray.

OkDialogClosed ( string text ) : void

OnButtonHit ( object sender, Axiom.Samples.Button button ) : void

Destroys dialog widgets, notifies listener, and ends high priority session.

RefreshCursor ( ) : void

Updates cursor position based on unbuffered mouse state. This is necessary because if the tray manager has been cut off from mouse events for a time, the cursor position will be out of date.

RemoveWidgetFromTray ( String name ) : void

Removes a widget from its tray. Same as moving it to the null tray.

RemoveWidgetFromTray ( TrayLocation trayLoc, String name ) : void

Removes a widget from its tray. Same as moving it to the null tray.

RemoveWidgetFromTray ( TrayLocation trayLoc, int place ) : void

Removes a widget from its tray. Same as moving it to the null tray.

RemoveWidgetFromTray ( Widget widget ) : void

Removes a widget from its tray. Same as moving it to the null tray.

ResourceGroupLoadEnded ( string groupName ) : void

This event is fired when a resource group finished loading.

ResourceGroupLoadStarted ( string groupName, int resourceCount ) : void

This event is fired when a resource group begins loading.

ResourceGroupPrepareEnded ( string groupName ) : void

ResourceGroupPrepareStarted ( string groupName, int resourceCount ) : void

ResourceGroupScriptingEnded ( string groupName ) : void

This event is fired when a resource group finished parsing scripts.

ResourceGroupScriptingStarted ( string groupName, int scriptCount ) : void

This event is fired when a resource group begins parsing scripts.

ResourceLoadEnded ( ) : void

This event is fired when the resource has been loaded.

ResourceLoadStarted ( Axiom.Core.Resource resource ) : void

This event is fired when a declared resource is about to be loaded.

ResourcePrepareEnded ( ) : void

ResourcePrepareStarted ( Axiom.Core.Resource resource ) : void

ScreenToScene ( Camera cam, Vector2 pt ) : Ray

Converts a 2D screen coordinate (in pixels) to a 3D ray into the scene.

ScriptParseEnded ( string scriptName, bool skipped ) : void

This event is fired when the script has been fully parsed.

ScriptParseStarted ( string scriptName, bool &skipThisScript ) : void

This event is fired when a script is about to be parsed.

SdkTrayManager ( String name, Axiom.Graphics.RenderWindow window, SharpInputSystem mouse ) : System

Creates backdrop, cursor, and trays.

SdkTrayManager ( String name, Axiom.Graphics.RenderWindow window, SharpInputSystem mouse, ISdkTrayListener listener ) : System

Creates backdrop, cursor, and trays.

SetTrayWidgetAlignment ( TrayLocation trayLoc, HorizontalAlignment gha ) : void

Sets horizontal alignment of a tray's contents.

ShowAll ( ) : void

ShowBackdrop ( ) : void

Displays specified material on backdrop, or the last material used if

none specified. Good for pause menus like in the browser.

ShowBackdrop ( String materialName ) : void

Displays specified material on backdrop, or the last material used if

none specified. Good for pause menus like in the browser.

ShowCursor ( ) : void

Displays specified material on cursor, or the last material used if

none specified. Used to change cursor type.

ShowCursor ( String materialName ) : void

Displays specified material on cursor, or the last material used if

none specified. Used to change cursor type.

ShowFrameStats ( TrayLocation trayLoc ) : void

Shows frame statistics widget set in the specified location.

ShowFrameStats ( TrayLocation trayLoc, int place ) : void

Shows frame statistics widget set in the specified location.

ShowLoadingBar ( ) : void

Shows loading bar. Also takes job settings: the number of resource groups to be initialised, the number of resource groups to be loaded, and the proportion of the job that will be taken up by initialization. Usually, script parsing takes up most time, so the default value is 0.7.

ShowLoadingBar ( int numGroupsInit, int numGroupsLoad ) : void

Shows loading bar. Also takes job settings: the number of resource groups to be initialised, the number of resource groups to be loaded, and the proportion of the job that will be taken up by initialization. Usually, script parsing takes up most time, so the default value is 0.7.

ShowLoadingBar ( int numGroupsInit, int numGroupsLoad, Real initProportion ) : void

Shows loading bar. Also takes job settings: the number of resource groups to be initialised, the number of resource groups to be loaded, and the proportion of the job that will be taken up by initialization. Usually, script parsing takes up most time, so the default value is 0.7.

ShowLogo ( TrayLocation trayLoc ) : void

Shows logo in the specified location.

ShowLogo ( TrayLocation trayLoc, int place ) : void

Shows logo in the specified location.

ShowOkDialog ( System.String caption, System.String message ) : void

Pops up a message dialog with an OK button.

ShowTrays ( ) : void

ShowYesNoDialog ( System.String caption, System.String question ) : void

Pops up a question dialog with Yes and No buttons.

SliderMoved ( Axiom.Samples.Slider slider ) : void

ToggleAdvancedFrameStats ( ) : void

Toggles visibility of advanced statistics.

WorldGeometryStageEnded ( ) : void

This event is fired when a stage of loading linked world geometry has been completed. The number of stages required will have been included in the resourceCount passed in resourceGroupLoadStarted.

WorldGeometryStageStarted ( string description ) : void

This event is fired when a stage of loading linked world geometry is about to start. The number of stages required will have been included in the resourceCount passed in resourceGroupLoadStarted.

YesNoDialogClosed ( string text, bool yesHit ) : void

createLongSelectMenu ( TrayLocation trayLoc, String name, System.String caption, Real boxWidth, int maxItemsShown ) : SelectMenu

sceneToScreen ( Camera cam, Vector3 pt ) : Vector2

Converts a 3D scene position to a 2D screen coordinate (in pixels).

메소드 상세

AdjustTrays() 공개 메소드

Fits trays to their contents and snaps them to their anchor locations.
public AdjustTrays ( ) : void
리턴 void

CheckboxToggled() 공개 메소드

public CheckboxToggled ( CheckBox box ) : void
box CheckBox
리턴 void

ClearAllTrays() 공개 메소드

Removes all widgets from all widget trays.
public ClearAllTrays ( ) : void
리턴 void

ClearTray() 공개 메소드

Removes all widgets from a widget tray.
public ClearTray ( TrayLocation trayLoc ) : void
trayLoc TrayLocation
리턴 void

CloseDialog() 공개 메소드

Hides whatever dialog is currently showing.
public CloseDialog ( ) : void
리턴 void

CreateButton() 공개 메소드

public CreateButton ( TrayLocation trayLoc, String name, String caption ) : Axiom.Samples.Button
trayLoc TrayLocation
name String
caption String
리턴 Axiom.Samples.Button

CreateButton() 공개 메소드

public CreateButton ( TrayLocation trayLoc, String name, String caption, Real width ) : Axiom.Samples.Button
trayLoc TrayLocation
name String
caption String
width Real
리턴 Axiom.Samples.Button

CreateCheckBox() 공개 메소드

public CreateCheckBox ( TrayLocation trayLoc, String name, System.String caption ) : CheckBox
trayLoc TrayLocation
name String
caption System.String
리턴 CheckBox

CreateCheckBox() 공개 메소드

public CreateCheckBox ( TrayLocation trayLoc, String name, System.String caption, Real width ) : CheckBox
trayLoc TrayLocation
name String
caption System.String
width Real
리턴 CheckBox

CreateDecorWidget() 공개 메소드

public CreateDecorWidget ( TrayLocation trayLoc, String name, String typeName, String templateName ) : DecorWidget
trayLoc TrayLocation
name String
typeName String
templateName String
리턴 DecorWidget

CreateLabel() 공개 메소드

public CreateLabel ( TrayLocation trayLoc, String name, System.String caption ) : Label
trayLoc TrayLocation
name String
caption System.String
리턴 Label

CreateLabel() 공개 메소드

public CreateLabel ( TrayLocation trayLoc, String name, System.String caption, Real width ) : Label
trayLoc TrayLocation
name String
caption System.String
width Real
리턴 Label

CreateLogoWidget() 공개 메소드

public CreateLogoWidget ( TrayLocation trayLoc, String name, String typeName, String templateName ) : DecorWidget
trayLoc TrayLocation
name String
typeName String
templateName String
리턴 DecorWidget

CreateLongSelectMenu() 공개 메소드

public CreateLongSelectMenu ( TrayLocation trayLoc, String name, System.String caption, Real width, Real boxWidth, int maxItemsShown ) : SelectMenu
trayLoc TrayLocation
name String
caption System.String
width Real
boxWidth Real
maxItemsShown int
리턴 SelectMenu

CreateLongSelectMenu() 공개 메소드

public CreateLongSelectMenu ( TrayLocation trayLoc, String name, System.String caption, Real width, Real boxWidth, int maxItemsShown, IList items ) : SelectMenu
trayLoc TrayLocation
name String
caption System.String
width Real
boxWidth Real
maxItemsShown int
items IList
리턴 SelectMenu

CreateLongSlider() 공개 메소드

public CreateLongSlider ( TrayLocation trayLoc, String name, System.String caption, Real width, Real trackWidth, Real valueBoxWidth, Real minValue, Real maxValue, int snaps ) : Axiom.Samples.Slider
trayLoc TrayLocation
name String
caption System.String
width Real
trackWidth Real
valueBoxWidth Real
minValue Real
maxValue Real
snaps int
리턴 Axiom.Samples.Slider

CreateLongSlider() 공개 메소드

public CreateLongSlider ( TrayLocation trayLoc, String name, System.String caption, Real trackWidth, Real valueBoxWidth, Real minValue, Real maxValue, int snaps ) : Axiom.Samples.Slider
trayLoc TrayLocation
name String
caption System.String
trackWidth Real
valueBoxWidth Real
minValue Real
maxValue Real
snaps int
리턴 Axiom.Samples.Slider

CreateParamsPanel() 공개 메소드

public CreateParamsPanel ( TrayLocation trayLoc, String name, Real width, IList paramNames ) : ParamsPanel
trayLoc TrayLocation
name String
width Real
paramNames IList
리턴 ParamsPanel

CreateParamsPanel() 공개 메소드

public CreateParamsPanel ( TrayLocation trayLoc, String name, Real width, int lines ) : ParamsPanel
trayLoc TrayLocation
name String
width Real
lines int
리턴 ParamsPanel

CreateProgressBar() 공개 메소드

public CreateProgressBar ( TrayLocation trayLoc, String name, System.String caption, Real width, Real commentBoxWidth ) : Axiom.Samples.ProgressBar
trayLoc TrayLocation
name String
caption System.String
width Real
commentBoxWidth Real
리턴 Axiom.Samples.ProgressBar

CreateSeparator() 공개 메소드

public CreateSeparator ( TrayLocation trayLoc, String name ) : Separator
trayLoc TrayLocation
name String
리턴 Separator

CreateSeparator() 공개 메소드

public CreateSeparator ( TrayLocation trayLoc, String name, Real width ) : Separator
trayLoc TrayLocation
name String
width Real
리턴 Separator

CreateTextBox() 공개 메소드

public CreateTextBox ( TrayLocation trayLoc, String name, System.String caption, Real width, Real height ) : TextBox
trayLoc TrayLocation
name String
caption System.String
width Real
height Real
리턴 TextBox

CreateThickSelectMenu() 공개 메소드

public CreateThickSelectMenu ( TrayLocation trayLoc, String name, System.String caption, Real width, int maxItemsShown ) : SelectMenu
trayLoc TrayLocation
name String
caption System.String
width Real
maxItemsShown int
리턴 SelectMenu

CreateThickSelectMenu() 공개 메소드

public CreateThickSelectMenu ( TrayLocation trayLoc, String name, System.String caption, Real width, int maxItemsShown, IList items ) : SelectMenu
trayLoc TrayLocation
name String
caption System.String
width Real
maxItemsShown int
items IList
리턴 SelectMenu

CreateThickSlider() 공개 메소드

public CreateThickSlider ( TrayLocation trayLoc, String name, System.String caption, Real width, Real valueBoxWidth, Real minValue, Real maxValue, int snaps ) : Axiom.Samples.Slider
trayLoc TrayLocation
name String
caption System.String
width Real
valueBoxWidth Real
minValue Real
maxValue Real
snaps int
리턴 Axiom.Samples.Slider

DestroyAllWidgets() 공개 메소드

Destroys all widgets.
public DestroyAllWidgets ( ) : void
리턴 void

DestroyAllWidgetsInTray() 공개 메소드

Destroys all widgets in a tray.
public DestroyAllWidgetsInTray ( TrayLocation trayLoc ) : void
trayLoc TrayLocation
리턴 void

DestroyWidget() 공개 메소드

Destroys a widget.
public DestroyWidget ( String name ) : void
name String
리턴 void

DestroyWidget() 공개 메소드

Destroys a widget.
public DestroyWidget ( TrayLocation trayLoc, String name ) : void
trayLoc TrayLocation
name String
리턴 void

DestroyWidget() 공개 메소드

Destroys a widget.
public DestroyWidget ( TrayLocation trayLoc, int place ) : void
trayLoc TrayLocation
place int
리턴 void

DestroyWidget() 공개 메소드

Destroys a widget.
public DestroyWidget ( Widget widget ) : void
widget Widget
리턴 void

Dispose() 공개 메소드

Destroys background, cursor, widgets, and trays.
public Dispose ( ) : void
리턴 void

FrameRenderingQueued() 공개 메소드

Process frame events. Updates frame statistics widget set and deletes all widgets queued for destruction.
public FrameRenderingQueued ( FrameEventArgs evt ) : bool
evt FrameEventArgs
리턴 bool

GetCursorRay() 공개 메소드

Returns a 3D ray into the scene that is directly underneath the cursor.
public GetCursorRay ( Camera cam ) : Ray
cam Axiom.Core.Camera
리턴 Axiom.Math.Ray

GetWidget() 공개 메소드

Gets a widget by name.
public GetWidget ( String name ) : Widget
name String
리턴 Widget

GetWidget() 공개 메소드

Gets a widget from a tray by name.
public GetWidget ( TrayLocation trayLoc, String name ) : Widget
trayLoc TrayLocation
name String
리턴 Widget

GetWidget() 공개 메소드

Gets a widget from a tray by place.
public GetWidget ( TrayLocation trayLoc, int place ) : Widget
trayLoc TrayLocation
place int
리턴 Widget

GetWidgetCount() 공개 메소드

Gets the number of widgets in a tray.
public GetWidgetCount ( TrayLocation trayLoc ) : int
trayLoc TrayLocation
리턴 int

GetWidgetEnumerator() 공개 메소드

Gets all the widgets of a specific tray.
public GetWidgetEnumerator ( TrayLocation trayLoc ) : IEnumerator
trayLoc TrayLocation
리턴 IEnumerator

HideAll() 공개 메소드

public HideAll ( ) : void
리턴 void

HideBackdrop() 공개 메소드

public HideBackdrop ( ) : void
리턴 void

HideCursor() 공개 메소드

public HideCursor ( ) : void
리턴 void

HideFrameStats() 공개 메소드

Hides frame statistics widget set.
public HideFrameStats ( ) : void
리턴 void

HideLoadingBar() 공개 메소드

public HideLoadingBar ( ) : void
리턴 void

HideLogo() 공개 메소드

public HideLogo ( ) : void
리턴 void

HideTrays() 공개 메소드

public HideTrays ( ) : void
리턴 void

InjectMouseDown() 공개 메소드

Processes mouse button down events. Returns true if the event was

consumed and should not be passed on to other handlers.
public InjectMouseDown ( SharpInputSystem evt, SharpInputSystem id ) : bool
evt SharpInputSystem
id SharpInputSystem
리턴 bool

InjectMouseMove() 공개 메소드

Updates cursor position. Returns true if the event was

consumed and should not be passed on to other handlers.
public InjectMouseMove ( SharpInputSystem evt ) : bool
evt SharpInputSystem
리턴 bool

InjectMouseUp() 공개 메소드

Processes mouse button up events. Returns true if the event was

consumed and should not be passed on to other handlers.
public InjectMouseUp ( SharpInputSystem evt, SharpInputSystem id ) : bool
evt SharpInputSystem
id SharpInputSystem
리턴 bool

ItemSelected() 공개 메소드

public ItemSelected ( SelectMenu menu ) : void
menu SelectMenu
리턴 void

LabelHit() 공개 메소드

Toggles visibility of advanced statistics.
public LabelHit ( Label label ) : void
label Label
리턴 void

LocateWidgetInTray() 공개 메소드

Gets a widget's position in its tray.
public LocateWidgetInTray ( Widget widget ) : int
widget Widget
리턴 int

MoveWidgetToTray() 공개 메소드

Adds a widget to a specified tray.
public MoveWidgetToTray ( String name, TrayLocation trayLoc ) : void
name String
trayLoc TrayLocation
리턴 void

MoveWidgetToTray() 공개 메소드

Adds a widget to a specified tray.
public MoveWidgetToTray ( String name, TrayLocation trayLoc, int place ) : void
name String
trayLoc TrayLocation
place int
리턴 void

MoveWidgetToTray() 공개 메소드

Adds a widget to a specified tray.
public MoveWidgetToTray ( TrayLocation currentTrayLoc, String name, TrayLocation targetTrayLoc ) : void
currentTrayLoc TrayLocation
name String
targetTrayLoc TrayLocation
리턴 void

MoveWidgetToTray() 공개 메소드

Adds a widget to a specified tray.
public MoveWidgetToTray ( TrayLocation currentTrayLoc, String name, TrayLocation targetTrayLoc, int place ) : void
currentTrayLoc TrayLocation
name String
targetTrayLoc TrayLocation
place int
리턴 void

MoveWidgetToTray() 공개 메소드

Adds a widget to a specified tray.
public MoveWidgetToTray ( TrayLocation currentTrayLoc, int currentPlace, TrayLocation targetTrayLoc ) : void
currentTrayLoc TrayLocation
currentPlace int
targetTrayLoc TrayLocation
리턴 void

MoveWidgetToTray() 공개 메소드

Adds a widget to a specified tray.
public MoveWidgetToTray ( TrayLocation currentTrayLoc, int currentPlace, TrayLocation targetTrayLoc, int targetPlace ) : void
currentTrayLoc TrayLocation
currentPlace int
targetTrayLoc TrayLocation
targetPlace int
리턴 void

MoveWidgetToTray() 공개 메소드

Adds a widget to a specified tray.
public MoveWidgetToTray ( Widget widget, TrayLocation trayLoc ) : void
widget Widget
trayLoc TrayLocation
리턴 void

MoveWidgetToTray() 공개 메소드

Adds a widget to a specified tray.
public MoveWidgetToTray ( Widget widget, TrayLocation trayLoc, int place ) : void
widget Widget
trayLoc TrayLocation
place int
리턴 void

OkDialogClosed() 공개 메소드

public OkDialogClosed ( string text ) : void
text string
리턴 void

OnButtonHit() 공개 메소드

Destroys dialog widgets, notifies listener, and ends high priority session.
public OnButtonHit ( object sender, Axiom.Samples.Button button ) : void
sender object
button Axiom.Samples.Button
리턴 void

RefreshCursor() 공개 메소드

Updates cursor position based on unbuffered mouse state. This is necessary because if the tray manager has been cut off from mouse events for a time, the cursor position will be out of date.
public RefreshCursor ( ) : void
리턴 void

RemoveWidgetFromTray() 공개 메소드

Removes a widget from its tray. Same as moving it to the null tray.
public RemoveWidgetFromTray ( String name ) : void
name String
리턴 void

RemoveWidgetFromTray() 공개 메소드

Removes a widget from its tray. Same as moving it to the null tray.
public RemoveWidgetFromTray ( TrayLocation trayLoc, String name ) : void
trayLoc TrayLocation
name String
리턴 void

RemoveWidgetFromTray() 공개 메소드

Removes a widget from its tray. Same as moving it to the null tray.
public RemoveWidgetFromTray ( TrayLocation trayLoc, int place ) : void
trayLoc TrayLocation
place int
리턴 void

RemoveWidgetFromTray() 공개 메소드

Removes a widget from its tray. Same as moving it to the null tray.
public RemoveWidgetFromTray ( Widget widget ) : void
widget Widget
리턴 void

ResourceGroupLoadEnded() 공개 메소드

This event is fired when a resource group finished loading.
public ResourceGroupLoadEnded ( string groupName ) : void
groupName string
리턴 void

ResourceGroupLoadStarted() 공개 메소드

This event is fired when a resource group begins loading.
public ResourceGroupLoadStarted ( string groupName, int resourceCount ) : void
groupName string The name of the group being loaded
resourceCount int /// The number of resources which will be loaded, /// including a number of stages required to load any linked world geometry ///
리턴 void

ResourceGroupPrepareEnded() 공개 메소드

public ResourceGroupPrepareEnded ( string groupName ) : void
groupName string
리턴 void

ResourceGroupPrepareStarted() 공개 메소드

public ResourceGroupPrepareStarted ( string groupName, int resourceCount ) : void
groupName string
resourceCount int
리턴 void

ResourceGroupScriptingEnded() 공개 메소드

This event is fired when a resource group finished parsing scripts.
public ResourceGroupScriptingEnded ( string groupName ) : void
groupName string The name of the group
리턴 void

ResourceGroupScriptingStarted() 공개 메소드

This event is fired when a resource group begins parsing scripts.
public ResourceGroupScriptingStarted ( string groupName, int scriptCount ) : void
groupName string The name of the group
scriptCount int The number of scripts which will be parsed
리턴 void

ResourceLoadEnded() 공개 메소드

This event is fired when the resource has been loaded.
public ResourceLoadEnded ( ) : void
리턴 void

ResourceLoadStarted() 공개 메소드

This event is fired when a declared resource is about to be loaded.
public ResourceLoadStarted ( Axiom.Core.Resource resource ) : void
resource Axiom.Core.Resource Weak reference to the resource loaded
리턴 void

ResourcePrepareEnded() 공개 메소드

public ResourcePrepareEnded ( ) : void
리턴 void

ResourcePrepareStarted() 공개 메소드

public ResourcePrepareStarted ( Axiom.Core.Resource resource ) : void
resource Axiom.Core.Resource
리턴 void

ScreenToScene() 공개 정적인 메소드

Converts a 2D screen coordinate (in pixels) to a 3D ray into the scene.
public static ScreenToScene ( Camera cam, Vector2 pt ) : Ray
cam Axiom.Core.Camera
pt Vector2
리턴 Axiom.Math.Ray

ScriptParseEnded() 공개 메소드

This event is fired when the script has been fully parsed.
public ScriptParseEnded ( string scriptName, bool skipped ) : void
scriptName string
skipped bool
리턴 void

ScriptParseStarted() 공개 메소드

This event is fired when a script is about to be parsed.
public ScriptParseStarted ( string scriptName, bool &skipThisScript ) : void
scriptName string Name of the to be parsed
skipThisScript bool
리턴 void

SdkTrayManager() 공개 메소드

Creates backdrop, cursor, and trays.
public SdkTrayManager ( String name, Axiom.Graphics.RenderWindow window, SharpInputSystem mouse ) : System
name String
window Axiom.Graphics.RenderWindow
mouse SharpInputSystem
리턴 System

SdkTrayManager() 공개 메소드

Creates backdrop, cursor, and trays.
public SdkTrayManager ( String name, Axiom.Graphics.RenderWindow window, SharpInputSystem mouse, ISdkTrayListener listener ) : System
name String
window Axiom.Graphics.RenderWindow
mouse SharpInputSystem
listener ISdkTrayListener
리턴 System

SetTrayWidgetAlignment() 공개 메소드

Sets horizontal alignment of a tray's contents.
public SetTrayWidgetAlignment ( TrayLocation trayLoc, HorizontalAlignment gha ) : void
trayLoc TrayLocation
gha HorizontalAlignment
리턴 void

ShowAll() 공개 메소드

public ShowAll ( ) : void
리턴 void

ShowBackdrop() 공개 메소드

Displays specified material on backdrop, or the last material used if

none specified. Good for pause menus like in the browser.
public ShowBackdrop ( ) : void
리턴 void

ShowBackdrop() 공개 메소드

Displays specified material on backdrop, or the last material used if

none specified. Good for pause menus like in the browser.
public ShowBackdrop ( String materialName ) : void
materialName String
리턴 void

ShowCursor() 공개 메소드

Displays specified material on cursor, or the last material used if

none specified. Used to change cursor type.
public ShowCursor ( ) : void
리턴 void

ShowCursor() 공개 메소드

Displays specified material on cursor, or the last material used if

none specified. Used to change cursor type.
public ShowCursor ( String materialName ) : void
materialName String
리턴 void

ShowFrameStats() 공개 메소드

Shows frame statistics widget set in the specified location.
public ShowFrameStats ( TrayLocation trayLoc ) : void
trayLoc TrayLocation
리턴 void

ShowFrameStats() 공개 메소드

Shows frame statistics widget set in the specified location.
public ShowFrameStats ( TrayLocation trayLoc, int place ) : void
trayLoc TrayLocation
place int
리턴 void

ShowLoadingBar() 공개 메소드

Shows loading bar. Also takes job settings: the number of resource groups to be initialised, the number of resource groups to be loaded, and the proportion of the job that will be taken up by initialization. Usually, script parsing takes up most time, so the default value is 0.7.
public ShowLoadingBar ( ) : void
리턴 void

ShowLoadingBar() 공개 메소드

Shows loading bar. Also takes job settings: the number of resource groups to be initialised, the number of resource groups to be loaded, and the proportion of the job that will be taken up by initialization. Usually, script parsing takes up most time, so the default value is 0.7.
public ShowLoadingBar ( int numGroupsInit, int numGroupsLoad ) : void
numGroupsInit int
numGroupsLoad int
리턴 void

ShowLoadingBar() 공개 메소드

Shows loading bar. Also takes job settings: the number of resource groups to be initialised, the number of resource groups to be loaded, and the proportion of the job that will be taken up by initialization. Usually, script parsing takes up most time, so the default value is 0.7.
public ShowLoadingBar ( int numGroupsInit, int numGroupsLoad, Real initProportion ) : void
numGroupsInit int
numGroupsLoad int
initProportion Real
리턴 void

ShowLogo() 공개 메소드

Shows logo in the specified location.
public ShowLogo ( TrayLocation trayLoc ) : void
trayLoc TrayLocation
리턴 void

ShowLogo() 공개 메소드

Shows logo in the specified location.
public ShowLogo ( TrayLocation trayLoc, int place ) : void
trayLoc TrayLocation
place int
리턴 void

ShowOkDialog() 공개 메소드

Pops up a message dialog with an OK button.
public ShowOkDialog ( System.String caption, System.String message ) : void
caption System.String
message System.String
리턴 void

ShowTrays() 공개 메소드

public ShowTrays ( ) : void
리턴 void

ShowYesNoDialog() 공개 메소드

Pops up a question dialog with Yes and No buttons.
public ShowYesNoDialog ( System.String caption, System.String question ) : void
caption System.String
question System.String
리턴 void

SliderMoved() 공개 메소드

public SliderMoved ( Axiom.Samples.Slider slider ) : void
slider Axiom.Samples.Slider
리턴 void

ToggleAdvancedFrameStats() 공개 메소드

Toggles visibility of advanced statistics.
public ToggleAdvancedFrameStats ( ) : void
리턴 void

WorldGeometryStageEnded() 공개 메소드

This event is fired when a stage of loading linked world geometry has been completed. The number of stages required will have been included in the resourceCount passed in resourceGroupLoadStarted.
public WorldGeometryStageEnded ( ) : void
리턴 void

WorldGeometryStageStarted() 공개 메소드

This event is fired when a stage of loading linked world geometry is about to start. The number of stages required will have been included in the resourceCount passed in resourceGroupLoadStarted.
public WorldGeometryStageStarted ( string description ) : void
description string Text description of what was just loaded
리턴 void

YesNoDialogClosed() 공개 메소드

public YesNoDialogClosed ( string text, bool yesHit ) : void
text string
yesHit bool
리턴 void

createLongSelectMenu() 공개 메소드

public createLongSelectMenu ( TrayLocation trayLoc, String name, System.String caption, Real boxWidth, int maxItemsShown ) : SelectMenu
trayLoc TrayLocation
name String
caption System.String
boxWidth Real
maxItemsShown int
리턴 SelectMenu

sceneToScreen() 공개 정적인 메소드

Converts a 3D scene position to a 2D screen coordinate (in pixels).
public static sceneToScreen ( Camera cam, Vector3 pt ) : Vector2
cam Axiom.Core.Camera
pt Vector3
리턴 Vector2

프로퍼티 상세

CursorWasVisible 보호되어 있는 프로퍼티

protected bool CursorWasVisible
리턴 bool

Dialog 보호되어 있는 프로퍼티

protected TextBox,Axiom.Samples Dialog
리턴 TextBox

LoadBar 보호되어 있는 프로퍼티

protected ProgressBar,Axiom.Samples LoadBar
리턴 Axiom.Samples.ProgressBar

Logo 보호되어 있는 프로퍼티

protected DecorWidget,Axiom.Samples Logo
리턴 DecorWidget

Mouse 보호되어 있는 프로퍼티

protected Mouse,SharpInputSystem Mouse
리턴 SharpInputSystem.Mouse

StatsPanel 보호되어 있는 프로퍼티

protected ParamsPanel,Axiom.Samples StatsPanel
리턴 ParamsPanel

backdrop 보호되어 있는 프로퍼티

protected OverlayElementContainer,Axiom.Overlays backdrop
리턴 Axiom.Overlays.OverlayElementContainer

backdropLayer 보호되어 있는 프로퍼티

protected Overlay,Axiom.Overlays backdropLayer
리턴 Axiom.Overlays.Overlay

cursor 보호되어 있는 프로퍼티

protected OverlayElementContainer,Axiom.Overlays cursor
리턴 Axiom.Overlays.OverlayElementContainer

cursorLayer 보호되어 있는 프로퍼티

protected Overlay,Axiom.Overlays cursorLayer
리턴 Axiom.Overlays.Overlay

expandedMenu 보호되어 있는 프로퍼티

protected SelectMenu,Axiom.Samples expandedMenu
리턴 SelectMenu

groupInitProportion 보호되어 있는 프로퍼티

protected Real groupInitProportion
리턴 Real

groupLoadProportion 보호되어 있는 프로퍼티

protected Real groupLoadProportion
리턴 Real

listener 보호되어 있는 프로퍼티

protected ISdkTrayListener listener
리턴 ISdkTrayListener

loadInc 보호되어 있는 프로퍼티

protected Real loadInc
리턴 Real

mDialogShade 보호되어 있는 프로퍼티

protected OverlayElementContainer,Axiom.Overlays mDialogShade
리턴 Axiom.Overlays.OverlayElementContainer

mFpsLabel 보호되어 있는 프로퍼티

protected Label,Axiom.Samples mFpsLabel
리턴 Label

mName 보호되어 있는 프로퍼티

protected String mName
리턴 String

mNo 보호되어 있는 프로퍼티

protected Button,Axiom.Samples mNo
리턴 Axiom.Samples.Button

mOk 보호되어 있는 프로퍼티

protected Button,Axiom.Samples mOk
리턴 Axiom.Samples.Button

mPriorityLayer 보호되어 있는 프로퍼티

protected Overlay,Axiom.Overlays mPriorityLayer
리턴 Axiom.Overlays.Overlay

mTrayDrag 보호되어 있는 프로퍼티

protected bool mTrayDrag
리턴 bool

mTrayPadding 보호되어 있는 프로퍼티

protected Real mTrayPadding
리턴 Real

mTrays 보호되어 있는 프로퍼티

protected OverlayElementContainer[],Axiom.Overlays mTrays
리턴 Axiom.Overlays.OverlayElementContainer[]

mTraysLayer 보호되어 있는 프로퍼티

protected Overlay,Axiom.Overlays mTraysLayer
리턴 Axiom.Overlays.Overlay

mWidgetDeathRow 보호되어 있는 프로퍼티

protected System.Collections.Generic.List mWidgetDeathRow
리턴 System.Collections.Generic.List

mWidgetPadding 보호되어 있는 프로퍼티

protected Real mWidgetPadding
리턴 Real

mWidgetSpacing 보호되어 있는 프로퍼티

protected Real mWidgetSpacing
리턴 Real

mWidgets 보호되어 있는 프로퍼티

protected WidgetList[] mWidgets
리턴 WidgetList[]

mWindow 보호되어 있는 프로퍼티

protected RenderWindow,Axiom.Graphics mWindow
리턴 Axiom.Graphics.RenderWindow

mYes 보호되어 있는 프로퍼티

protected Button,Axiom.Samples mYes
리턴 Axiom.Samples.Button

trayWidgetAlign 보호되어 있는 프로퍼티

protected HorizontalAlignment[] trayWidgetAlign
리턴 HorizontalAlignment[]