Class ClippingPrimitiveEditor
An abstract editor component to improve the editor experience with ClippingPrimitives.
Inheritance
ClippingPrimitiveEditor
Implements
UnityEditor.Editor
Namespace: Microsoft.MixedReality.Toolkit.Editor
Assembly: cs.temp.dll.dll
Syntax
public abstract class ClippingPrimitiveEditor : UnityEditor.Editor, UnityEditor.Editor
Methods
HasFrameBounds()
Notifies the Unity editor if this object has custom frame bounds.
Declaration
protected abstract bool HasFrameBounds()
Returns
Type | Description |
---|---|
Boolean | True if custom frame bounds can be used from OnGetFrameBounds. |
HasFrameBounds()
Notifies the Unity editor if this object has custom frame bounds.
Declaration
protected abstract bool HasFrameBounds()
Returns
Type | Description |
---|---|
Boolean | True if custom frame bounds can be used from OnGetFrameBounds. |
OnGetFrameBounds()
Returns the bounds the editor should focus on.
Declaration
protected abstract Bounds OnGetFrameBounds()
Returns
Type | Description |
---|---|
Bounds | The bounds of the clipping primitive. |
OnGetFrameBounds()
Returns the bounds the editor should focus on.
Declaration
protected abstract Bounds OnGetFrameBounds()
Returns
Type | Description |
---|---|
Bounds | The bounds of the clipping primitive. |
OnInspectorGUI()
Looks for changes to the list of renderers and gracefully adds and removes them.
Declaration
public override void OnInspectorGUI()
OnInspectorGUI()
Looks for changes to the list of renderers and gracefully adds and removes them.
Declaration
public override void OnInspectorGUI()
Implements
UnityEditor.Editor