struct in UnityEngine.UIElements
/
Implemented in:UnityEngine.UIElementsModule
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseThis structure manipulates the set of StyleSheet objects attached to the owner VisualElement.
VisualElementStyleSheetSet instances can't be created directly. Use the VisualElement.styleSheets property accessor to work with the style sheets of an element.
count | Number of style sheets attached to the owner element. |
this[int] | Reads the value at the specified index in the list of StyleSheet objects attached of the element |
Add | Adds a style sheet for the owner element. |
Clear | Removes all style sheets for the owner element. |
Contains | Looks for the specified StyleSheet |
Equals | Compares instances of the VisualElementStyleSheetSet struct for equality. |
Remove | Removes a style sheet for the owner element. |
operator != | Compares instances of the VisualElementStyleSheetSet struct for inequality. |
operator == | Compares instances of the VisualElementStyleSheetSet struct for equality. |