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.

    Show / Hide Table of Contents

    Class Vector3RangeAttribute

    Attribute used to make a float or int variable in a script be restricted to a specific range.

    Inheritance
    Object
    Vector3RangeAttribute
    Namespace: Microsoft.MixedReality.Toolkit
    Assembly: cs.temp.dll.dll
    Syntax
    [AttributeUsage(AttributeTargets.Field)]
    public sealed class Vector3RangeAttribute : PropertyAttribute

    Constructors

    Vector3RangeAttribute(Single, Single)

    Attribute used to make a float or int variable in a script be restricted to a specific range.

    Declaration
    public Vector3RangeAttribute(float min, float max)
    Parameters
    Type Name Description
    Single min

    The minimum allowed value.

    Single max

    The maximum allowed value.

    Fields

    Max

    Maximum value.

    Declaration
    public readonly float Max
    Field Value
    Type Description
    Single

    Min

    Minimum value.

    Declaration
    public readonly float Min
    Field Value
    Type Description
    Single
    Back to top Generated by DocFX