value
The Material value.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public MaterialDefinition value { get; set; }
Remarks
A value read from VisualElement.style is a copy. To change the style, modify the value and assign it back. The element stores its own copy of the property values, so later changes to an assigned value have no effect until it is assigned again.