日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    Class ClippingPrimitiveEditor

    An abstract editor component to improve the editor experience with ClippingPrimitives.

    Inheritance
    Object
    ClippingPrimitiveEditor
    ClippingBoxEditor
    ClippingPlaneEditor
    ClippingSphereEditor
    Namespace: Microsoft.MixedReality.Toolkit.Editor
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class ClippingPrimitiveEditor : 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.

    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()
    Back to top Generated by DocFX