docs.unity3d.com
    Show / Hide Table of Contents

    Class XRGrabInteractableEditor

    Custom editor for an XRGrabInteractable.

    Inheritance
    Object
    BaseInteractionEditor
    XRBaseInteractableEditor
    XRGrabInteractableEditor
    Inherited Members
    XRBaseInteractableEditor.m_InteractionManager
    XRBaseInteractableEditor.m_Colliders
    XRBaseInteractableEditor.m_InteractionLayerMask
    XRBaseInteractableEditor.m_CustomReticle
    XRBaseInteractableEditor.m_FirstHoverEntered
    XRBaseInteractableEditor.m_LastHoverExited
    XRBaseInteractableEditor.m_HoverEntered
    XRBaseInteractableEditor.m_HoverExited
    XRBaseInteractableEditor.m_SelectEntered
    XRBaseInteractableEditor.m_SelectExited
    XRBaseInteractableEditor.m_Activated
    XRBaseInteractableEditor.m_Deactivated
    XRBaseInteractableEditor.m_OnFirstHoverEntered
    XRBaseInteractableEditor.m_OnLastHoverExited
    XRBaseInteractableEditor.m_OnHoverEntered
    XRBaseInteractableEditor.m_OnHoverExited
    XRBaseInteractableEditor.m_OnSelectEntered
    XRBaseInteractableEditor.m_OnSelectExited
    XRBaseInteractableEditor.m_OnSelectCanceled
    XRBaseInteractableEditor.m_OnActivate
    XRBaseInteractableEditor.m_OnDeactivate
    XRBaseInteractableEditor.m_OnFirstHoverEnteredCalls
    XRBaseInteractableEditor.m_OnLastHoverExitedCalls
    XRBaseInteractableEditor.m_OnHoverEnteredCalls
    XRBaseInteractableEditor.m_OnHoverExitedCalls
    XRBaseInteractableEditor.m_OnSelectEnteredCalls
    XRBaseInteractableEditor.m_OnSelectExitedCalls
    XRBaseInteractableEditor.m_OnSelectCanceledCalls
    XRBaseInteractableEditor.m_OnActivateCalls
    XRBaseInteractableEditor.m_OnDeactivateCalls
    XRBaseInteractableEditor.DrawInspector()
    XRBaseInteractableEditor.DrawBeforeProperties()
    XRBaseInteractableEditor.DrawEvents()
    XRBaseInteractableEditor.DrawCoreConfiguration()
    XRBaseInteractableEditor.DrawInteractionManagement()
    XRBaseInteractableEditor.DrawInteractableEvents()
    XRBaseInteractableEditor.DrawInteractableEventsNested()
    XRBaseInteractableEditor.IsDeprecatedEventsInUse()
    XRBaseInteractableEditor.MigrateEvents(SerializedObject)
    XRBaseInteractableEditor.MigrateEvents(Object[])
    BaseInteractionEditor.knownSerializedPropertyNames
    BaseInteractionEditor.OnInspectorGUI()
    BaseInteractionEditor.InitializeKnownSerializedPropertyNames()
    BaseInteractionEditor.GetDerivedSerializedPropertyNames()
    BaseInteractionEditor.DrawDerivedProperties()
    BaseInteractionEditor.DrawScript()
    Namespace: UnityEditor.XR.Interaction.Toolkit
    Syntax
    public class XRGrabInteractableEditor : XRBaseInteractableEditor

    Fields

    m_AngularVelocityDamping

    of the backing angularVelocityDamping.

    Declaration
    protected SerializedProperty m_AngularVelocityDamping
    Field Value
    Type Description
    SerializedProperty

    m_AngularVelocityScale

    of the backing angularVelocityScale.

    Declaration
    protected SerializedProperty m_AngularVelocityScale
    Field Value
    Type Description
    SerializedProperty

    m_AttachEaseInTime

    of the backing attachEaseInTime.

    Declaration
    protected SerializedProperty m_AttachEaseInTime
    Field Value
    Type Description
    SerializedProperty

    m_AttachPointCompatibilityMode

    of the backing attachPointCompatibilityMode.

    Declaration
    protected SerializedProperty m_AttachPointCompatibilityMode
    Field Value
    Type Description
    SerializedProperty

    m_AttachTransform

    of the backing attachTransform.

    Declaration
    protected SerializedProperty m_AttachTransform
    Field Value
    Type Description
    SerializedProperty

    m_ForceGravityOnDetach

    of the backing forceGravityOnDetach.

    Declaration
    protected SerializedProperty m_ForceGravityOnDetach
    Field Value
    Type Description
    SerializedProperty

    m_MovementType

    of the backing movementType.

    Declaration
    protected SerializedProperty m_MovementType
    Field Value
    Type Description
    SerializedProperty

    m_RetainTransformParent

    of the backing retainTransformParent.

    Declaration
    protected SerializedProperty m_RetainTransformParent
    Field Value
    Type Description
    SerializedProperty

    m_SmoothPosition

    of the backing smoothPosition.

    Declaration
    protected SerializedProperty m_SmoothPosition
    Field Value
    Type Description
    SerializedProperty

    m_SmoothPositionAmount

    of the backing smoothPositionAmount.

    Declaration
    protected SerializedProperty m_SmoothPositionAmount
    Field Value
    Type Description
    SerializedProperty

    m_SmoothRotation

    of the backing smoothRotation.

    Declaration
    protected SerializedProperty m_SmoothRotation
    Field Value
    Type Description
    SerializedProperty

    m_SmoothRotationAmount

    of the backing smoothRotationAmount.

    Declaration
    protected SerializedProperty m_SmoothRotationAmount
    Field Value
    Type Description
    SerializedProperty

    m_ThrowAngularVelocityScale

    of the backing throwAngularVelocityScale.

    Declaration
    protected SerializedProperty m_ThrowAngularVelocityScale
    Field Value
    Type Description
    SerializedProperty

    m_ThrowOnDetach

    of the backing throwOnDetach.

    Declaration
    protected SerializedProperty m_ThrowOnDetach
    Field Value
    Type Description
    SerializedProperty

    m_ThrowSmoothingCurve

    of the backing throwSmoothingCurve.

    Declaration
    protected SerializedProperty m_ThrowSmoothingCurve
    Field Value
    Type Description
    SerializedProperty

    m_ThrowSmoothingDuration

    of the backing throwSmoothingDuration.

    Declaration
    protected SerializedProperty m_ThrowSmoothingDuration
    Field Value
    Type Description
    SerializedProperty

    m_ThrowVelocityScale

    of the backing throwVelocityScale.

    Declaration
    protected SerializedProperty m_ThrowVelocityScale
    Field Value
    Type Description
    SerializedProperty

    m_TightenPosition

    of the backing tightenPosition.

    Declaration
    protected SerializedProperty m_TightenPosition
    Field Value
    Type Description
    SerializedProperty

    m_TightenRotation

    of the backing tightenRotation.

    Declaration
    protected SerializedProperty m_TightenRotation
    Field Value
    Type Description
    SerializedProperty

    m_TrackPosition

    of the backing trackPosition.

    Declaration
    protected SerializedProperty m_TrackPosition
    Field Value
    Type Description
    SerializedProperty

    m_TrackRotation

    of the backing trackRotation.

    Declaration
    protected SerializedProperty m_TrackRotation
    Field Value
    Type Description
    SerializedProperty

    m_VelocityDamping

    of the backing velocityDamping.

    Declaration
    protected SerializedProperty m_VelocityDamping
    Field Value
    Type Description
    SerializedProperty

    m_VelocityScale

    of the backing velocityScale.

    Declaration
    protected SerializedProperty m_VelocityScale
    Field Value
    Type Description
    SerializedProperty

    Methods

    DrawAttachConfiguration()

    Draw property fields related to attach configuration.

    Declaration
    protected virtual void DrawAttachConfiguration()

    DrawDetachConfiguration()

    Draw property fields related to detach configuration.

    Declaration
    protected virtual void DrawDetachConfiguration()

    DrawGrabConfiguration()

    Draw the property fields related to grab configuration.

    Declaration
    protected virtual void DrawGrabConfiguration()

    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 override void DrawProperties()
    Overrides
    XRBaseInteractableEditor.DrawProperties()

    DrawTrackConfiguration()

    Draw the property fields related to tracking configuration.

    Declaration
    protected virtual void DrawTrackConfiguration()

    OnEnable()

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

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