Editar

Compartir a través de


ClippingSphereEditor Class

Definition

A custom editor for the ClippingSphere to allow for specification of the framing bounds.

public ref class ClippingSphereEditor : Microsoft::MixedReality::Toolkit::Editor::ClippingPrimitiveEditor
[UnityEditor.CanEditMultipleObjects]
[UnityEditor.CustomEditor(typeof(Microsoft.MixedReality.Toolkit.Utilities.ClippingSphere))]
public class ClippingSphereEditor : Microsoft.MixedReality.Toolkit.Editor.ClippingPrimitiveEditor
[<UnityEditor.CanEditMultipleObjects>]
[<UnityEditor.CustomEditor(typeof(Microsoft.MixedReality.Toolkit.Utilities.ClippingSphere))>]
type ClippingSphereEditor = class
    inherit ClippingPrimitiveEditor
Public Class ClippingSphereEditor
Inherits ClippingPrimitiveEditor
Inheritance
UnityEditor.Editor
ClippingSphereEditor
Attributes
UnityEditor.CanEditMultipleObjectsAttribute UnityEditor.CustomEditorAttribute

Constructors

ClippingSphereEditor()

Methods

HasFrameBounds()

Notifies the Unity editor if this object has custom frame bounds.

OnGetFrameBounds()

Returns the bounds the editor should focus on.

OnInspectorGUI()

Looks for changes to the list of renderers and gracefully adds and removes them.

(Inherited from ClippingPrimitiveEditor)

Applies to