mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    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
    Implements
    PropertyAttribute
    Namespace: Microsoft.MixedReality.Toolkit
    Assembly: cs.temp.dll.dll
    Syntax
    public sealed class Vector3RangeAttribute : PropertyAttribute, 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.

    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

    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

    Min

    Minimum value.

    Declaration
    public readonly float Min
    Field Value
    Type Description
    Single

    Implements

    PropertyAttribute
    In This Article
    • Constructors
      • Vector3RangeAttribute(Single, Single)
      • Vector3RangeAttribute(Single, Single)
    • Fields
      • Max
      • Max
      • Min
      • Min
    • Implements
    Back to top Generated by DocFX