Class ClippingSphereEditor
A custom editor for the ClippingSphere to allow for specification of the framing bounds.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Editor
Assembly: cs.temp.dll.dll
Syntax
public class ClippingSphereEditor : ClippingPrimitiveEditor
Methods
HasFrameBounds()
Notifies the Unity editor if this object has custom frame bounds.
Declaration
protected override bool HasFrameBounds()
Returns
Type | Description |
---|---|
Boolean | True if custom frame bounds can be used from OnGetFrameBounds. |
Overrides
OnGetFrameBounds()
Returns the bounds the editor should focus on.
Declaration
protected override Bounds OnGetFrameBounds()
Returns
Type | Description |
---|---|
Bounds | The bounds of the clipping primitive. |