Class ARTranslationInteractableEditor
Custom editor for an ARTranslationInteractable.
Inheritance
Inherited Members
Namespace: UnityEditor.XR.Interaction.Toolkit.AR
Syntax
public class ARTranslationInteractableEditor : ARBaseGestureInteractableEditor
Fields
m_FallbackLayerMask
Declaration
protected SerializedProperty m_FallbackLayerMask
Field Value
Type | Description |
---|---|
SerializedProperty |
m_MaxTranslationDistance
Declaration
protected SerializedProperty m_MaxTranslationDistance
Field Value
Type | Description |
---|---|
SerializedProperty |
m_ObjectGestureTranslationMode
Declaration
protected SerializedProperty m_ObjectGestureTranslationMode
Field Value
Type | Description |
---|---|
SerializedProperty |
Methods
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
OnEnable()
This function is called when the object becomes enabled and active.
Declaration
protected override void OnEnable()