CustomSceneGui Class

Summary

[Editor-Only] A wrapper for UnityEditor.SceneView.duringSceneGui.
Assembly
FlexiMotion.dll
Namespace
FlexiMotion.Editor
Base Types
  • Object
Derived Types
graph BT Type-->Base0["Object"] Type["CustomSceneGui"] class Type type-node Derived0["SphereVisualiser"]-->Type click Derived0 "/flexi-motion/api/FlexiMotion.Editor/SphereVisualiser" Derived1["SphereColliderHandle"]-->Type click Derived1 "/flexi-motion/api/FlexiMotion.Editor/SphereColliderHandle"

Syntax

public class CustomSceneGui

Events

Name Type Summary
OnSceneGui Action<SceneView>
The method which will be called by UnityEditor.SceneView.duringSceneGui.

Properties

Name Value Summary
IsEnabled bool
Is this GUI currently visible in the UnityEditor.SceneView?

Methods

Name Value Summary
GetMousePosition(SceneView) Vector2
Get the current mouse position corrected for the `sceneView`.
static

Extension Methods

Name Value Summary
LogTemp<CustomSceneGui>(Object) T
Debug.Log(message, context) with an [System.ObsoleteAttribute] warning so you remember to remove any calls.
SafeGetHashCode<CustomSceneGui>() int
Uses System.Collections.Generic.EqualityComparer`1.Default to get a hash code.