Class Vector3RangeAttribute
Attribute used to make a float or int variable in a script be restricted to a specific range.
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