UxmlHash128AttributeDescription
Describes a UXML Hash128 attribute.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Class
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Inherits from: TypedUxmlAttributeDescription<Hash128>
public class UxmlHash128AttributeDescription : TypedUxmlAttributeDescription<Hash128>
Constructors
Constructor | Description |
|---|---|
| UxmlHash128AttributeDescription() | Constructor. |
Properties
Property | Description |
|---|---|
| defaultValueAsString | The default value for the attribute, as a string. |
Methods
Method | Description |
|---|---|
| GetValueFromBag | Retrieves the value of this attribute from the attribute bag. Returns the value if found; otherwise, it returns defaultValue. |
| TryGetValueFromBag | Attempts to retrieve the value of this attribute from the attribute bag and returns true if found, otherwise false. |