Tanoda
|
Namespaces | |
namespace | Example |
namespace | Interface |
namespace | Serialization |
namespace | UnityEditor |
Enumerations | |
enum | HandleMovement { Up , Right , Forward , Plane } |
enum | Axis { None = 0x0 , X = 0x1 , Y = 0x2 , Z = 0x4 } |
enum | Tool { None , Position , Rotate , Scale , View } |
enum | ViewTool { None , Orbit , Pan , Dolly , Look } |
enum | ElementMode { Vertex , Edge , Face } |
enum | EditLevel { Object , Element , View } |
enum | Culling { Back = 0x1 , Front = 0x2 , FrontBack = 0x4 } |
enum | AssetType { Resource , Bundle , Instance } |
enum | PathType { Null , File , Directory } |
Functions | |
delegate bool | MouseInUse (Vector2 mousePosition) |
delegate bool | KeyInUse () |
delegate void | Callback () |
delegate void | Callback< T > (T value) |
delegate void | Callback< T, S > (T value0, S value1) |
enum GILES.AssetType |
Enumerator | |
---|---|
Resource | |
Bundle | |
Instance |
Definition at line 68 of file pb_Enum.cs.
enum GILES.Axis |
Enumerator | |
---|---|
None | |
X | |
Y | |
Z |
Definition at line 11 of file pb_Enum.cs.
enum GILES.Culling |
Describes different culling options.
Enumerator | |
---|---|
Back | |
Front | |
FrontBack |
Definition at line 61 of file pb_Enum.cs.
enum GILES.EditLevel |
Enumerator | |
---|---|
Object | |
Element | |
View |
Definition at line 51 of file pb_Enum.cs.
enum GILES.ElementMode |
Enumerator | |
---|---|
Vertex | |
Edge | |
Face |
Definition at line 44 of file pb_Enum.cs.
enum GILES.HandleMovement |
Enumerator | |
---|---|
Up | |
Right | |
Forward | |
Plane |
Definition at line 3 of file pb_Enum.cs.
enum GILES.PathType |
Enumerator | |
---|---|
Null | |
File | |
Directory |
Definition at line 75 of file pb_Enum.cs.
enum GILES.Tool |
Defines options for gizmo types and scene interaction.
Enumerator | |
---|---|
None | |
Position | |
Rotate | |
Scale | |
View |
Definition at line 23 of file pb_Enum.cs.
enum GILES.ViewTool |
Describes different camera manipulation types.
Enumerator | |
---|---|
None | |
Orbit | |
Pan | |
Dolly | |
Look |
Definition at line 35 of file pb_Enum.cs.
delegate void GILES.Callback | ( | ) |
A simple void callback function.
delegate void GILES.Callback< T > | ( | T | value | ) |
A generic delegate with one parameter.
delegate void GILES.Callback< T, S > | ( | T | value0, |
S | value1 | ||
) |
A generic delegate with one parameter.
delegate bool GILES.KeyInUse | ( | ) |
pb_InputManager will check with any delegates registered to keyUsedDelegate before sending key events to pb_ISceneEditor classes.
Ex: pb_SceneCamera needs to control the sceneview when the alt key is pressed with the mouse buttons down. It registers with pb_InputManager and returns true when alt key is pressed and mouse is down.
delegate bool GILES.MouseInUse | ( | Vector2 | mousePosition | ) |
pb_InputManager maintains a static multicast delegate mouseUsedDelegate
that classes can register with to indicate that they own the mouse at that point, preventing pb_ISceneEditor from sending mouse updates to inheriting classes.
Ex: Menu class has a rect reserved for buttons. Menu adds a function to test if mousePosition is within reserved rect and registers as a delegate with pb_InputManager so that mouse actions are ignored by the scene controls when mouse is in the menu.