편집

다음을 통해 공유


ClippingBoxEditor Class

Definition

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

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

Constructors

ClippingBoxEditor()

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