Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Protected Member Functions | List of all members
EditorGizmos.GizmoOffsetHandle Class Reference
Inheritance diagram for EditorGizmos.GizmoOffsetHandle:
EditorGizmos.GizmoHandle IMouseEvents

Public Member Functions

bool IsFacingDirection (Vector3 direction)
 
void Setup (GizmoOffset host, Callback< GizmoOffsetHandle, Vector3 > onHandleDragStart, Callback< GizmoOffsetHandle, Vector3, float > onHandleDrag, Callback< GizmoOffsetHandle, Vector3, float > onHandleDragEnd, Camera referenceCamera)
 
- Public Member Functions inherited from EditorGizmos.GizmoHandle
MonoBehaviour GetInstance ()
 
void OnMouseDown ()
 
void OnMouseDrag ()
 
void OnMouseEnter ()
 
void OnMouseExit ()
 
void OnMouseUp ()
 
void SetLock (bool lockSt)
 

Protected Member Functions

override bool CanHover ()
 
override void On_MouseDown ()
 
override void On_MouseDrag ()
 
override void On_MouseEnter ()
 
override void On_MouseExit ()
 
override void On_MouseUp ()
 
- Protected Member Functions inherited from EditorGizmos.GizmoHandle
void BaseSetup ()
 

Additional Inherited Members

- Protected Attributes inherited from EditorGizmos.GizmoHandle
Color disabledColor
 
Color downColor
 
bool drag
 
Renderer highlightRenderer
 
bool hover
 
Color hoverColor
 
Color normalColor
 
Renderer primaryRenderer
 
- Properties inherited from EditorGizmos.GizmoHandle
bool Drag [get]
 
bool Hover [get]
 

Member Function Documentation

override bool EditorGizmos.GizmoOffsetHandle.CanHover ( )
inlineprotectedvirtual
bool EditorGizmos.GizmoOffsetHandle.IsFacingDirection ( Vector3  direction)
inline
override void EditorGizmos.GizmoOffsetHandle.On_MouseDown ( )
inlineprotectedvirtual
override void EditorGizmos.GizmoOffsetHandle.On_MouseDrag ( )
inlineprotectedvirtual
override void EditorGizmos.GizmoOffsetHandle.On_MouseEnter ( )
inlineprotectedvirtual
override void EditorGizmos.GizmoOffsetHandle.On_MouseExit ( )
inlineprotectedvirtual
override void EditorGizmos.GizmoOffsetHandle.On_MouseUp ( )
inlineprotectedvirtual
void EditorGizmos.GizmoOffsetHandle.Setup ( GizmoOffset  host,
Callback< GizmoOffsetHandle, Vector3 >  onHandleDragStart,
Callback< GizmoOffsetHandle, Vector3, float >  onHandleDrag,
Callback< GizmoOffsetHandle, Vector3, float >  onHandleDragEnd,
Camera  referenceCamera 
)
inline

The documentation for this class was generated from the following file: