Modifier

Partager via


Vector3RangeAttribute(Single, Single) Constructor

Definition

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

public:
 Vector3RangeAttribute(float min, float max);
public Vector3RangeAttribute (float min, float max);
new Microsoft.MixedReality.Toolkit.Vector3RangeAttribute : single * single -> Microsoft.MixedReality.Toolkit.Vector3RangeAttribute
Public Sub New (min As Single, max As Single)

Parameters

min
Single

The minimum allowed value.

max
Single

The maximum allowed value.

Applies to