docs.unity3d.com
    Show / Hide Table of Contents

    Class ActionBasedControllerEditor

    Custom editor for an ActionBasedController.

    Inheritance
    Object
    BaseInteractionEditor
    XRBaseControllerEditor
    ActionBasedControllerEditor
    Inherited Members
    XRBaseControllerEditor.m_UpdateTrackingType
    XRBaseControllerEditor.m_EnableInputTracking
    XRBaseControllerEditor.m_EnableInputActions
    XRBaseControllerEditor.m_ModelPrefab
    XRBaseControllerEditor.m_ModelParent
    XRBaseControllerEditor.m_Model
    XRBaseControllerEditor.m_AnimateModel
    XRBaseControllerEditor.m_ModelSelectTransition
    XRBaseControllerEditor.m_ModelDeSelectTransition
    XRBaseControllerEditor.m_ModelTransform
    XRBaseControllerEditor.GetDerivedSerializedPropertyNames()
    XRBaseControllerEditor.DrawInspector()
    XRBaseControllerEditor.DrawBeforeProperties()
    XRBaseControllerEditor.DrawProperties()
    XRBaseControllerEditor.DrawModelProperties()
    BaseInteractionEditor.knownSerializedPropertyNames
    BaseInteractionEditor.OnInspectorGUI()
    BaseInteractionEditor.InitializeKnownSerializedPropertyNames()
    BaseInteractionEditor.DrawDerivedProperties()
    BaseInteractionEditor.DrawScript()
    Namespace: UnityEditor.XR.Interaction.Toolkit
    Syntax
    public class ActionBasedControllerEditor : XRBaseControllerEditor

    Fields

    m_ActivateAction

    of the backing activateAction.

    Declaration
    protected SerializedProperty m_ActivateAction
    Field Value
    Type Description
    SerializedProperty

    m_HapticDeviceAction

    of the backing hapticDeviceAction.

    Declaration
    protected SerializedProperty m_HapticDeviceAction
    Field Value
    Type Description
    SerializedProperty

    m_PositionAction

    of the backing positionAction.

    Declaration
    protected SerializedProperty m_PositionAction
    Field Value
    Type Description
    SerializedProperty

    m_RotateAnchorAction

    of the backing rotateAnchorAction.

    Declaration
    protected SerializedProperty m_RotateAnchorAction
    Field Value
    Type Description
    SerializedProperty

    m_RotationAction

    of the backing rotationAction.

    Declaration
    protected SerializedProperty m_RotationAction
    Field Value
    Type Description
    SerializedProperty

    m_SelectAction

    of the backing selectAction.

    Declaration
    protected SerializedProperty m_SelectAction
    Field Value
    Type Description
    SerializedProperty

    m_TranslateAnchorAction

    of the backing translateAnchorAction.

    Declaration
    protected SerializedProperty m_TranslateAnchorAction
    Field Value
    Type Description
    SerializedProperty

    m_UIPressAction

    of the backing uiPressAction.

    Declaration
    protected SerializedProperty m_UIPressAction
    Field Value
    Type Description
    SerializedProperty

    Methods

    DrawInputConfiguration()

    Draw property fields related to interaction input. These are related to enableInputActions.

    Declaration
    protected override void DrawInputConfiguration()
    Overrides
    XRBaseControllerEditor.DrawInputConfiguration()

    DrawOtherActions()

    Draw property fields related to other, specialized input actions and haptic output.

    Declaration
    protected override void DrawOtherActions()
    Overrides
    XRBaseControllerEditor.DrawOtherActions()

    DrawTrackingConfiguration()

    Draw property fields related to tracking. These are related to enableInputTracking.

    Declaration
    protected override void DrawTrackingConfiguration()
    Overrides
    XRBaseControllerEditor.DrawTrackingConfiguration()

    OnEnable()

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

    Declaration
    protected override void OnEnable()
    Overrides
    XRBaseControllerEditor.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