Inheritance
XRInteractorLineVisualEditor
public class XRInteractorLineVisualEditor : BaseInteractionEditor
Fields
Declaration
protected SerializedProperty m_FollowTightness
Field Value
Type |
Description |
SerializedProperty |
|
Declaration
protected SerializedProperty m_InvalidColorGradient
Field Value
Type |
Description |
SerializedProperty |
|
Declaration
protected SerializedProperty m_LineLength
Field Value
Type |
Description |
SerializedProperty |
|
Declaration
protected SerializedProperty m_LineWidth
Field Value
Type |
Description |
SerializedProperty |
|
Declaration
protected SerializedProperty m_OverrideInteractorLineLength
Field Value
Type |
Description |
SerializedProperty |
|
Declaration
protected SerializedProperty m_Reticle
Field Value
Type |
Description |
SerializedProperty |
|
Declaration
protected SerializedProperty m_SmoothMovement
Field Value
Type |
Description |
SerializedProperty |
|
Declaration
protected SerializedProperty m_SnapThresholdDistance
Field Value
Type |
Description |
SerializedProperty |
|
Declaration
protected SerializedProperty m_StopLineAtFirstRaycastHit
Field Value
Type |
Description |
SerializedProperty |
|
Declaration
protected SerializedProperty m_ValidColorGradient
Field Value
Type |
Description |
SerializedProperty |
|
Declaration
protected SerializedProperty m_WidthCurve
Field Value
Type |
Description |
SerializedProperty |
|
Methods
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()
Draw property fields related to color gradients.
Declaration
protected virtual void DrawColorConfiguration()
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
Draw property fields related to the line length.
Declaration
protected virtual void DrawLengthConfiguration()
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()
Draw property fields related to the reticle.
Declaration
protected virtual void DrawReticle()
Draw property fields related to smooth movement.
Declaration
protected virtual void DrawSmoothMovement()
Draw property fields related to the line width.
Declaration
protected virtual void DrawWidthConfiguration()
Declaration
protected virtual void OnEnable()