Class UxmlValueBounds
Restricts the value of an attribute to be within the specified bounds.
Namespace: UnityEngine.UIElements
Syntax
public class UxmlValueBounds : UxmlTypeRestriction
Properties
excludeMax
True if the bounds exclude max.
Declaration
public bool excludeMax { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
excludeMin
True if the bounds exclude min.
Declaration
public bool excludeMin { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
max
The maximum value for the attribute.
Declaration
public string max { get; set; }
Property Value
Type | Description |
---|---|
String |
min
The minimum value for the attribute.
Declaration
public string min { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
Equals(UxmlTypeRestriction)
Indicates whether the current UxmlValueBounds object is equal to another object of the same type.
Declaration
public override bool Equals(UxmlTypeRestriction other)
Parameters
Type | Name | Description |
---|---|---|
UxmlTypeRestriction | other | The object to compare with. |
Returns
Type | Description |
---|---|
Boolean | True if the otheer object is equal to this one. |