UI.Handles

From KitHack Model Club Wiki
Jump to navigation Jump to search

Back to SDK API Reference

UI.Handles

UI.Handles.TrfHandle

  • Method: TrfHandle Create(ITrfHandleable obj, TrfHandle prefab)
  • Method: Boolean get_Hover()
  • Method: Boolean get_Grabbed()
  • Method: ITrfHandleable get_Target()
  • Method: PtrSelectableObject get_ptrObject()
  • Method: Boolean get_Interactable()
  • Method: PtrRendererHighlighter get_highlighter()
  • Method: Void Init(ITrfHandleable obj)
  • Method: Void UpdatePlacement()
  • Method: Boolean UI.IPtrSelectable.OnPtrDown(Pointer ptr, SelectionAction sAction)
  • Method: Void UI.IPtrSelectable.OnPtrUp(Pointer ptr)
  • Method: Void Select(Boolean supressEvent)
  • Method: Void Deselect(Boolean supressEvent)
  • Method: Void Update()
  • Method: Void SetInteractable(Boolean interactable)
  • Method: Void OnPtrHoverEnter(Pointer ptr)
  • Method: Void OnPtrHoverExit(Pointer ptr)
  • Method: Void onGizmoHoverStChg(Boolean hvr)
  • Method: Void onGizmoGrabStChg(Boolean grb)
  • Method: Void onGizmoRotateStart(Quaternion wrot)
  • Method: Void onGizmoRotate(Quaternion wrot)
  • Method: Void onGizmoRotateEnd(Quaternion wrot)
  • Method: Void onGizmoMoveStart(Vector3 gMov)
  • Method: Void onGizmoMove(Vector3 gMov)
  • Method: Void onGizmoMoveEnd(Vector3 gMov)
  • Method: Void onGizmoReset()
  • Method: Void Terminate()
  • Method: Boolean IsInvoking()
  • Method: Void CancelInvoke()
  • Method: Void Invoke(String methodName, Single time)
  • Method: Void InvokeRepeating(String methodName, Single time, Single repeatRate)
  • Method: Void CancelInvoke(String methodName)
  • Method: Boolean IsInvoking(String methodName)
  • Method: Coroutine StartCoroutine(String methodName)
  • Method: Coroutine StartCoroutine(String methodName, Object value)
  • Method: Coroutine StartCoroutine(IEnumerator routine)
  • Method: Coroutine StartCoroutine_Auto(IEnumerator routine)
  • Method: Void StopCoroutine(IEnumerator routine)
  • Method: Void StopCoroutine(Coroutine routine)
  • Method: Void StopCoroutine(String methodName)
  • Method: Void StopAllCoroutines()
  • Method: Boolean get_useGUILayout()
  • Method: Void set_useGUILayout(Boolean value)
  • Method: String GetScriptClassName()
  • Method: Boolean get_enabled()
  • Method: Void set_enabled(Boolean value)
  • Method: Boolean get_isActiveAndEnabled()
  • Method: Transform get_transform()
  • Method: GameObject get_gameObject()
  • Method: Component GetComponent(Type type)
  • Method: Void GetComponentFastPath(Type type, IntPtr oneFurtherThanResultValue)
  • Method: T GetComponent()
  • Method: Boolean TryGetComponent(Type type, Component& component)
  • Method: Boolean TryGetComponent(T& component)
  • Method: Component GetComponent(String type)
  • Method: Component GetComponentInChildren(Type t, Boolean includeInactive)
  • Method: Component GetComponentInChildren(Type t)
  • Method: T GetComponentInChildren(Boolean includeInactive)
  • Method: T GetComponentInChildren()
  • Method: Component[] GetComponentsInChildren(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInChildren(Type t)
  • Method: T[] GetComponentsInChildren(Boolean includeInactive)
  • Method: Void GetComponentsInChildren(Boolean includeInactive, List`1 result)
  • Method: T[] GetComponentsInChildren()
  • Method: Void GetComponentsInChildren(List`1 results)
  • Method: Component GetComponentInParent(Type t, Boolean includeInactive)
  • Method: Component GetComponentInParent(Type t)
  • Method: T GetComponentInParent(Boolean includeInactive)
  • Method: T GetComponentInParent()
  • Method: Component[] GetComponentsInParent(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInParent(Type t)
  • Method: T[] GetComponentsInParent(Boolean includeInactive)
  • Method: Void GetComponentsInParent(Boolean includeInactive, List`1 results)
  • Method: T[] GetComponentsInParent()
  • Method: Component[] GetComponents(Type type)
  • Method: Void GetComponents(Type type, List`1 results)
  • Method: Void GetComponents(List`1 results)
  • Method: String get_tag()
  • Method: Void set_tag(String value)
  • Method: T[] GetComponents()
  • Method: Boolean CompareTag(String tag)
  • Method: Void SendMessageUpwards(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessageUpwards(String methodName, Object value)
  • Method: Void SendMessageUpwards(String methodName)
  • Method: Void SendMessageUpwards(String methodName, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, Object value)
  • Method: Void SendMessage(String methodName)
  • Method: Void SendMessage(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter)
  • Method: Void BroadcastMessage(String methodName)
  • Method: Void BroadcastMessage(String methodName, SendMessageOptions options)
  • Method: Int32 GetInstanceID()
  • Method: Int32 GetHashCode()
  • Method: Boolean Equals(Object other)
  • Method: String get_name()
  • Method: Void set_name(String value)
  • Method: HideFlags get_hideFlags()
  • Method: Void set_hideFlags(HideFlags value)
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Property: Boolean Hover
  • Property: Boolean Grabbed
  • Property: ITrfHandleable Target
  • Property: PtrSelectableObject ptrObject
  • Property: Boolean Interactable
  • Property: PtrRendererHighlighter highlighter
  • Property: Boolean useGUILayout
  • Property: Boolean enabled
  • Property: Boolean isActiveAndEnabled
  • Property: Transform transform
  • Property: GameObject gameObject
  • Property: String tag
  • Property: String name
  • Property: HideFlags hideFlags
  • Field: Action`1 OnHandleSelected
  • Field: Action`1 OnSelectedStateChanged
  • Field: Action`1 OnHoverStateChanged
  • Field: Action`1 OnGrabStateChanged
  • Field: Action OnPickedUp
  • Field: Action`1 OnTgtLocationChanged
  • Field: Boolean selected
  • Field: Single reselectCooldown
  • Field: Single tLastSelEvt
  • Field: Boolean hovered
  • Field: Boolean grabbed
  • Field: ITrfHandleable tgtObj
  • Field: Color selectedColor
  • Field: GameObject handles
  • Field: PtrGizmo gizmo
  • Field: TickingSound sfxTick
  • Field: PtrSelectableObject _ptrObject
  • Field: Boolean interactable
  • Field: PtrRendererHighlighter _highlighter

UI.Handles.TrfHandleCaster`2

  • Method: IEnumerable`1 get_AllHandles()
  • Method: Boolean get_AnyHovered()
  • Method: Boolean get_AnyGrabbed()
  • Method: TrfHandleCaster`2 Create(Action`2 OnSelected, Action`2 OnSelDeselected, Thandle prefab)
  • Method: TrfHandleCaster`2 Deploy(IEnumerable`1 objCollection, Action`2 OnSelected, Action`2 OnSelDeselected, Thandle prefab)
  • Method: TrfHandleCaster`2 UpdateHandles(IEnumerable`1 objs)
  • Method: Void ClearHandles()
  • Method: Void Terminate()
  • Method: Void OnHandleSelected(TrfHandle hdl)
  • Method: Void OnSelHldSelStateChanged(Boolean sel)
  • Method: Thandle GetHandleForObject(Tobj obj)
  • Method: Tobj GetObjectForHandle(Thandle hdl)
  • Method: Thandle Pick()
  • Method: Void Deselect(Boolean suppressEvent)
  • Method: Void System.IDisposable.Dispose()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Method: String ToString()
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()
  • Property: IEnumerable`1 AllHandles
  • Property: Boolean AnyHovered
  • Property: Boolean AnyGrabbed
  • Field: IEnumerable`1 objCollection
  • Field: BiDictionaryOneToOne`2 handles
  • Field: Thandle selectedHandle
  • Field: Action`2 onSelected
  • Field: Action`2 onSelDeselected
  • Field: TrfHandle prefab
  • Field: Action`2 OnHandleHoverStateChange
  • Field: Action`2 OnHandleGrabStateChange