Свойство | Тип | Описание | |
---|---|---|---|
KeepPreviousSelection | bool | ||
Selection | List |
||
SelectionMode | SelectionModeType | ||
VerboseLogging | bool |
Метод | Описание | |
---|---|---|
Clear ( ) : void |
public method to clear and reset the MouseSelector object
|
|
DeselectObjects ( ) : void |
Public Method for deselecting all objects previously selected. once they are selected they stay selected till the object is cleared or another selection begins.
|
|
MouseMoved ( SharpInputSystem evt ) : void |
public method to call when the mouse is moved
|
|
MousePressed ( SharpInputSystem evt, SharpInputSystem id ) : void |
public method to call when the mouse is pressed
|
|
MouseReleased ( SharpInputSystem evt, SharpInputSystem id ) : void |
public method to call when the mouse button is released
|
|
MouseSelector ( |
This is the Constructor for the MouseSelection object, scene must be fully initialized and valid camera and window must be passed in, generic name will be created
|
|
MouseSelector ( string name, |
This is the Constructor for the MouseSelection object, scene must be fully initialized and valid camera and window must be passed in, name must be passed
|
Метод | Описание | |
---|---|---|
Log ( string message ) : void |
Logging via the LogManager
|
|
PerformSelectionWithMouseClick ( ) : void |
private method for selection object that creates a box from a single mouse click
|
|
PerformSelectionWithSelectionBox ( |
private method for selection object that creates a box from the SelectionRectangle, stop variable is passed in
|
|
SelectObject ( Axiom.Core.MovableObject obj ) : void |
Private method that adds any object not currently selected into the selection list
|
public MouseMoved ( SharpInputSystem evt ) : void | ||
evt | SharpInputSystem | |
Результат | void |
public MousePressed ( SharpInputSystem evt, SharpInputSystem id ) : void | ||
evt | SharpInputSystem | MouseEventArgs |
id | SharpInputSystem | MouseButtonID |
Результат | void |
public MouseReleased ( SharpInputSystem evt, SharpInputSystem id ) : void | ||
evt | SharpInputSystem | |
id | SharpInputSystem | |
Результат | void |
public MouseSelector ( |
||
camera | Camera | |
window | Axiom.Graphics.RenderWindow | RenderWindow |
Результат | System |
public MouseSelector ( string name, |
||
name | string | string |
camera | Camera | |
window | Axiom.Graphics.RenderWindow | RenderWindow |
Результат | System |