We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class Vector3RangePropertyDrawer

    Custom property drawer for Vector3RangeAttribute decorated Vector3 values rendered in the inspector.

    Inheritance
    Object
    Vector3RangePropertyDrawer
    Namespace: Microsoft.MixedReality.Toolkit.Editor
    Assembly: cs.temp.dll.dll
    Syntax
    public class Vector3RangePropertyDrawer : PropertyDrawer

    Methods

    GetPropertyHeight(SerializedProperty, GUIContent)

    Declaration
    public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
    Parameters
    Type Name Description
    SerializedProperty property
    GUIContent label
    Returns
    Type Description
    Single

    OnGUI(Rect, SerializedProperty, GUIContent)

    Declaration
    public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
    Parameters
    Type Name Description
    Rect position
    SerializedProperty property
    GUIContent label
    In This Article
    Back to top Generated by DocFX