docs.unity3d.com
    Show / Hide Table of Contents

    Class XRControllerRecordingEditor

    Custom editor for an XRControllerRecording.

    Inheritance
    Object
    BaseInteractionEditor
    XRControllerRecordingEditor
    Inherited Members
    BaseInteractionEditor.knownSerializedPropertyNames
    BaseInteractionEditor.OnInspectorGUI()
    BaseInteractionEditor.InitializeKnownSerializedPropertyNames()
    BaseInteractionEditor.GetDerivedSerializedPropertyNames()
    BaseInteractionEditor.DrawDerivedProperties()
    BaseInteractionEditor.DrawScript()
    Namespace: UnityEditor.XR.Interaction.Toolkit
    Syntax
    public class XRControllerRecordingEditor : BaseInteractionEditor

    Methods

    DrawBeforeProperties()

    This method is automatically called by DrawInspector() to draw the section of the custom inspector before DrawProperties(). By default, this draws the read-only Script property.

    Declaration
    protected virtual void DrawBeforeProperties()

    DrawInspector()

    This method is automatically called by OnInspectorGUI() to draw the custom inspector. Override this method to customize the inspector as a whole.

    Declaration
    protected override void DrawInspector()
    Overrides
    BaseInteractionEditor.DrawInspector()
    See Also
    DrawBeforeProperties()
    DrawProperties()
    DrawDerivedProperties()

    DrawProperties()

    This method is automatically called by DrawInspector() to draw the property fields. Override this method to customize the properties shown in the Inspector. This is typically the method overridden when a derived behavior adds additional serialized properties that should be displayed in the Inspector.

    Declaration
    protected virtual void DrawProperties()

    DrawRecordingFrame(XRControllerState)

    Draw the frame stored in the recording.

    Declaration
    protected virtual void DrawRecordingFrame(XRControllerState frame)
    Parameters
    Type Name Description
    XRControllerState frame

    The controller frame to draw.

    DrawRecordingFrames()

    Draw the frames stored in the recording.

    Declaration
    protected virtual void DrawRecordingFrames()

    OnEnable()

    This function is called when the object becomes enabled and active.

    Declaration
    protected virtual void OnEnable()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023