Class VisualElement
Base class for objects that are part of the UIElements visual tree.
Inheritance
VisualElement
Syntax
public class VisualElement : Focusable, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle
Constructors
VisualElement()
Initializes and returns an instance of VisualElement.
Declaration
Fields
disabledUssClassName
USS class name of local disabled elements.
Declaration
public static readonly string disabledUssClassName
Field Value
Properties
cacheAsBitmap
Declaration
public bool cacheAsBitmap { get; set; }
Property Value
canGrabFocus
Declaration
public override bool canGrabFocus { get; }
Property Value
Overrides
childCount
Number of child elements in this object's contentContainer.
Declaration
public int childCount { get; }
Property Value
contentContainer
child elements are added to this element, usually this
Declaration
public virtual VisualElement contentContainer { get; }
Property Value
contentRect
The rectangle of the content area of the element, in the local space of the element.
Declaration
public Rect contentRect { get; }
Property Value
customStyle
Returns the custom style properties accessor for this element.
Declaration
public ICustomStyle customStyle { get; }
Property Value
enabledInHierarchy
Returns true if the VisualElement is enabled in its own hierarchy.
Declaration
public bool enabledInHierarchy { get; }
Property Value
enabledSelf
Declaration
public bool enabledSelf { get; }
Property Value
experimental
Returns the UIElements experimental interfaces.
Declaration
public IExperimentalFeatures experimental { get; }
Property Value
focusController
Declaration
public override FocusController focusController { get; }
Property Value
Overrides
generateVisualContent
Called when the VisualElement visual contents need to be (re)generated.
Declaration
public Action<MeshGenerationContext> generateVisualContent { get; set; }
Property Value
hierarchy
Access to this element physical hierarchy
Declaration
public VisualElement.Hierarchy hierarchy { get; }
Property Value
Item[Int32]
Retrieves the child element at a specific index.
Declaration
public VisualElement this[int key] { get; }
Parameters
Type |
Name |
Description |
Int32 |
key |
The index of the element.
|
Property Value
layout
The position and size of the VisualElement relative to its parent, as computed by the layout system.
Declaration
public Rect layout { get; }
Property Value
localBound
AABB after applying the transform to the rect, but before applying the layout translation.
Declaration
public Rect localBound { get; }
Property Value
name
The name of this VisualElement.
Declaration
public string name { get; set; }
Property Value
paddingRect
The rectangle of the padding area of the element, in the local space of the element.
Declaration
protected Rect paddingRect { get; }
Property Value
panel
The panel onto which this VisualElement is attached.
Declaration
public IPanel panel { get; }
Property Value
parent
The parent of this VisualElement.
Declaration
public VisualElement parent { get; }
Property Value
pickingMode
Determines if this element can be pick during mouseEvents or Pick(Vector2) queries.
Declaration
public PickingMode pickingMode { get; set; }
Property Value
resolvedStyle
Declaration
public IResolvedStyle resolvedStyle { get; }
Property Value
schedule
Retrieves this VisualElement's IVisualElementScheduler
Declaration
public IVisualElementScheduler schedule { get; }
Property Value
style
Reference to the style object of this element.
Declaration
public IStyle style { get; }
Property Value
styleSheets
Declaration
public VisualElementStyleSheetSet styleSheets { get; }
Property Value
Text to display inside an information box after the user hovers the element for a small amount of time.
Declaration
public string tooltip { get; set; }
Property Value
Returns a transform object for this VisualElement.
ITransform
Declaration
public ITransform transform { get; }
Property Value
usageHints
A combination of hint values that specify high-level intended usage patterns for the VisualElement.
This property can only be set when the VisualElement is not yet part of a UnityEngine.UIElements.Panel. Once part of a UnityEngine.UIElements.Panel, this property becomes effectively read-only, and attempts to change it will throw an exception.
The specification of proper UsageHints drives the system to make better decisions on how to process or accelerate certain operations based on the anticipated usage pattern.
Note that those hints do not affect behavioral or visual results, but only affect the overall performance of the panel and the elements within.
It's advised to always consider specifying the proper UsageHints, but keep in mind that some UsageHints might be internally ignored under certain conditions (e.g. due to hardware limitations on the target platform).
Declaration
public UsageHints usageHints { get; set; }
Property Value
userData
This property can be used to associate application-specific user data with this VisualElement.
Declaration
public object userData { get; set; }
Property Value
viewDataKey
Used for view data persistence (ie. tree expanded states, scroll position, zoom level).
Declaration
public string viewDataKey { get; set; }
Property Value
visible
Indicates whether or not this element should be rendered.
Declaration
public bool visible { get; set; }
Property Value
visualTreeAssetSource
Stores the asset reference, if the generated element is cloned from a VisualTreeAsset.
Declaration
public VisualTreeAsset visualTreeAssetSource { get; }
Property Value
worldBound
AABB after applying the world transform to rect
.
Declaration
public Rect worldBound { get; }
Property Value
Returns a matrix that cumulates the following operations (in order):
-Local Scaling
-Local Rotation
-Local Translation
-Layout Translation
-Parent worldTransform
(recursive definition - consider identity when there is no parent)
Declaration
public Matrix4x4 worldTransform { get; }
Property Value
Type |
Description |
Matrix4x4 |
|
Methods
Add(VisualElement)
Add an element to this element's contentContainer
Declaration
public void Add(VisualElement child)
Parameters
AddToClassList(String)
Adds a class to the class list of the element in order to assign styles from USS.
Declaration
public void AddToClassList(string className)
Parameters
Type |
Name |
Description |
String |
className |
The name of the class to add to the list.
|
BringToFront()
Brings this element to the end of its parent children list. The element will be visually in front of any overlapping sibling elements.
Declaration
public void BringToFront()
Children()
Returns the elements from its contentContainer.
Declaration
public IEnumerable<VisualElement> Children()
Returns
ClassListContains(String)
Searches for a class in the class list of this element.
Declaration
public bool ClassListContains(string cls)
Parameters
Type |
Name |
Description |
String |
cls |
The name of the class for the search query.
|
Returns
Type |
Description |
Boolean |
Returns true if the class is part of the list. Otherwise, returns false.
|
Clear()
Remove all child elements from this element's contentContainer
Declaration
ClearClassList()
Declaration
public void ClearClassList()
Contains(VisualElement)
Checks if this element is an ancestor of the specified child element.
Declaration
public bool Contains(VisualElement child)
Parameters
Type |
Name |
Description |
VisualElement |
child |
The child element to test against.
|
Returns
Type |
Description |
Boolean |
Returns true if this element is a ancestor of the child element, false otherwise.
|
ContainsPoint(Vector2)
Checks if the specified point intersects with this VisualElement's layout.
Declaration
public virtual bool ContainsPoint(Vector2 localPoint)
Parameters
Type |
Name |
Description |
Vector2 |
localPoint |
The point in the local space of the element.
|
Returns
Type |
Description |
Boolean |
Returns true if the point is contained within the element's layout. Otherwise, returns false.
|
DoMeasure(Single, VisualElement.MeasureMode, Single, VisualElement.MeasureMode)
Declaration
protected virtual Vector2 DoMeasure(float desiredWidth, VisualElement.MeasureMode widthMode, float desiredHeight, VisualElement.MeasureMode heightMode)
Parameters
Returns
ElementAt(Int32)
Retrieves the child element at a specific index.
Declaration
public VisualElement ElementAt(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
The index of the element.
|
Returns
EnableInClassList(String, Boolean)
Enables or disables the class with the given name.
Declaration
public void EnableInClassList(string className, bool enable)
Parameters
Type |
Name |
Description |
String |
className |
The name of the class to enable or disable.
|
Boolean |
enable |
A boolean flag that adds or removes the class name from the class list. If true, EnableInClassList adds the class name to the class list. If false, EnableInClassList removes the class name from the class list.
|
ExecuteDefaultAction(EventBase)
Declaration
protected override void ExecuteDefaultAction(EventBase evt)
Parameters
Overrides
FindAncestorUserData()
Searches up the hierarchy of this VisualElement and retrieves stored userData, if any is found.
Declaration
public object FindAncestorUserData()
Returns
FindCommonAncestor(VisualElement)
Finds the lowest common ancestor between two VisualElements inside the VisualTree hierarchy.
Declaration
public VisualElement FindCommonAncestor(VisualElement other)
Parameters
Returns
Focus()
Declaration
public override sealed void Focus()
Overrides
GetClasses()
Retrieve the classes for this element.
Declaration
public IEnumerable<string> GetClasses()
Returns
Type |
Description |
IEnumerable<String> |
A class list.
|
GetFirstAncestorOfType<T>()
Walks up the hierarchy, starting from this element's parent, and returns the first VisualElement of this type
Declaration
public T GetFirstAncestorOfType<T>()
where T : class
Returns
Type Parameters
GetFirstOfType<T>()
Walks up the hierarchy, starting from this element, and returns the first VisualElement of this type
Declaration
public T GetFirstOfType<T>()
where T : class
Returns
Type Parameters
IndexOf(VisualElement)
Retrieves the child index of the specified VisualElement.
Declaration
public int IndexOf(VisualElement element)
Parameters
Type |
Name |
Description |
VisualElement |
element |
The child element to retrieve.
|
Returns
Type |
Description |
Int32 |
The index of the child, or -1 if the child is not found.
|
Insert(Int32, VisualElement)
Insert an element into this element's contentContainer
Declaration
public void Insert(int index, VisualElement element)
Parameters
MarkDirtyRepaint()
Declaration
public void MarkDirtyRepaint()
Overlaps(Rect)
Declaration
public virtual bool Overlaps(Rect rectangle)
Parameters
Type |
Name |
Description |
Rect |
rectangle |
|
Returns
PlaceBehind(VisualElement)
Places this element right before the sibling element in their parent children list. If the element and the sibling position overlap, the element will be visually behind of its sibling.
Declaration
public void PlaceBehind(VisualElement sibling)
Parameters
PlaceInFront(VisualElement)
Places this element right after the sibling element in their parent children list. If the element and the sibling position overlap, the element will be visually in front of its sibling.
Declaration
public void PlaceInFront(VisualElement sibling)
Parameters
Remove(VisualElement)
Removes this child from the hierarchy
Declaration
public void Remove(VisualElement element)
Parameters
RemoveAt(Int32)
Remove the child element located at this position from this element's contentContainer
Declaration
public void RemoveAt(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
RemoveFromClassList(String)
Removes a class from the class list of the element.
Declaration
public void RemoveFromClassList(string className)
Parameters
Type |
Name |
Description |
String |
className |
The name of the class to remove to the list.
|
RemoveFromHierarchy()
Removes this element from its parent hierarchy.
Declaration
public void RemoveFromHierarchy()
SendEvent(EventBase)
Sends an event to the event handler.
Declaration
public override sealed void SendEvent(EventBase e)
Parameters
Type |
Name |
Description |
EventBase |
e |
The event to send.
|
Overrides
SendToBack()
Sends this element to the beginning of its parent children list. The element will be visually behind any overlapping sibling elements.
Declaration
SetEnabled(Boolean)
Changes the VisualElement enabled state. A disabled VisualElement does not receive most events.
Declaration
public void SetEnabled(bool value)
Parameters
Type |
Name |
Description |
Boolean |
value |
New enabled state
|
SetEnabledFromHierarchy(Boolean)
Declaration
protected bool SetEnabledFromHierarchy(bool state)
Parameters
Type |
Name |
Description |
Boolean |
state |
|
Returns
Sort(Comparison<VisualElement>)
Reorders child elements from this VisualElement contentContainer.
Declaration
public void Sort(Comparison<VisualElement> comp)
Parameters
Type |
Name |
Description |
Comparison<VisualElement> |
comp |
The sorting criteria.
|
ToggleInClassList(String)
Toggles between adding and removing the given class name from the class list.
Declaration
public void ToggleInClassList(string className)
Parameters
Type |
Name |
Description |
String |
className |
The class name to add or remove from the class list.
|
ToString()
Declaration
public override string ToString()
Returns
Explicit Interface Implementations
ITransitionAnimations.Layout(Rect, Int32)
Declaration
ValueAnimation<Rect> ITransitionAnimations.Layout(Rect to, int durationMs)
Parameters
Type |
Name |
Description |
Rect |
to |
|
Int32 |
durationMs |
|
Returns
Implements
ITransitionAnimations.Position(Vector3, Int32)
Declaration
ValueAnimation<Vector3> ITransitionAnimations.Position(Vector3 to, int durationMs)
Parameters
Type |
Name |
Description |
Vector3 |
to |
|
Int32 |
durationMs |
|
Returns
Implements
ITransitionAnimations.Rotation(Quaternion, Int32)
Declaration
ValueAnimation<Quaternion> ITransitionAnimations.Rotation(Quaternion to, int durationMs)
Parameters
Type |
Name |
Description |
Quaternion |
to |
|
Int32 |
durationMs |
|
Returns
Implements
ITransitionAnimations.Scale(Single, Int32)
Declaration
ValueAnimation<float> ITransitionAnimations.Scale(float to, int durationMs)
Parameters
Returns
Implements
ITransitionAnimations.Size(Vector2, Int32)
Declaration
ValueAnimation<Vector2> ITransitionAnimations.Size(Vector2 to, int durationMs)
Parameters
Type |
Name |
Description |
Vector2 |
to |
|
Int32 |
durationMs |
|
Returns
Implements
ITransitionAnimations.Start(Color, Color, Int32, Action<VisualElement, Color>)
Declaration
ValueAnimation<Color> ITransitionAnimations.Start(Color from, Color to, int durationMs, Action<VisualElement, Color> onValueChanged)
Parameters
Type |
Name |
Description |
Color |
from |
|
Color |
to |
|
Int32 |
durationMs |
|
Action<VisualElement, Color> |
onValueChanged |
|
Returns
Implements
ITransitionAnimations.Start(Func<VisualElement, Color>, Color, Int32, Action<VisualElement, Color>)
Declaration
ValueAnimation<Color> ITransitionAnimations.Start(Func<VisualElement, Color> fromValueGetter, Color to, int durationMs, Action<VisualElement, Color> onValueChanged)
Parameters
Returns
Implements
ITransitionAnimations.Start(Func<VisualElement, Quaternion>, Quaternion, Int32, Action<VisualElement, Quaternion>)
Declaration
ValueAnimation<Quaternion> ITransitionAnimations.Start(Func<VisualElement, Quaternion> fromValueGetter, Quaternion to, int durationMs, Action<VisualElement, Quaternion> onValueChanged)
Parameters
Returns
Implements
ITransitionAnimations.Start(Func<VisualElement, Rect>, Rect, Int32, Action<VisualElement, Rect>)
Declaration
ValueAnimation<Rect> ITransitionAnimations.Start(Func<VisualElement, Rect> fromValueGetter, Rect to, int durationMs, Action<VisualElement, Rect> onValueChanged)
Parameters
Returns
Implements
ITransitionAnimations.Start(Func<VisualElement, Single>, Single, Int32, Action<VisualElement, Single>)
Declaration
ValueAnimation<float> ITransitionAnimations.Start(Func<VisualElement, float> fromValueGetter, float to, int durationMs, Action<VisualElement, float> onValueChanged)
Parameters
Returns
Implements
ITransitionAnimations.Start(Func<VisualElement, Vector2>, Vector2, Int32, Action<VisualElement, Vector2>)
Declaration
ValueAnimation<Vector2> ITransitionAnimations.Start(Func<VisualElement, Vector2> fromValueGetter, Vector2 to, int durationMs, Action<VisualElement, Vector2> onValueChanged)
Parameters
Returns
Implements
ITransitionAnimations.Start(Func<VisualElement, Vector3>, Vector3, Int32, Action<VisualElement, Vector3>)
Declaration
ValueAnimation<Vector3> ITransitionAnimations.Start(Func<VisualElement, Vector3> fromValueGetter, Vector3 to, int durationMs, Action<VisualElement, Vector3> onValueChanged)
Parameters
Returns
Implements
ITransitionAnimations.Start(Quaternion, Quaternion, Int32, Action<VisualElement, Quaternion>)
Declaration
ValueAnimation<Quaternion> ITransitionAnimations.Start(Quaternion from, Quaternion to, int durationMs, Action<VisualElement, Quaternion> onValueChanged)
Parameters
Type |
Name |
Description |
Quaternion |
from |
|
Quaternion |
to |
|
Int32 |
durationMs |
|
Action<VisualElement, Quaternion> |
onValueChanged |
|
Returns
Implements
ITransitionAnimations.Start(Rect, Rect, Int32, Action<VisualElement, Rect>)
Declaration
ValueAnimation<Rect> ITransitionAnimations.Start(Rect from, Rect to, int durationMs, Action<VisualElement, Rect> onValueChanged)
Parameters
Type |
Name |
Description |
Rect |
from |
|
Rect |
to |
|
Int32 |
durationMs |
|
Action<VisualElement, Rect> |
onValueChanged |
|
Returns
Implements
ITransitionAnimations.Start(Single, Single, Int32, Action<VisualElement, Single>)
Declaration
ValueAnimation<float> ITransitionAnimations.Start(float from, float to, int durationMs, Action<VisualElement, float> onValueChanged)
Parameters
Returns
Implements
ITransitionAnimations.Start(StyleValues, Int32)
Declaration
ValueAnimation<StyleValues> ITransitionAnimations.Start(StyleValues to, int durationMs)
Parameters
Returns
Implements
ITransitionAnimations.Start(StyleValues, StyleValues, Int32)
Declaration
ValueAnimation<StyleValues> ITransitionAnimations.Start(StyleValues from, StyleValues to, int durationMs)
Parameters
Returns
Implements
ITransitionAnimations.Start(Vector2, Vector2, Int32, Action<VisualElement, Vector2>)
Declaration
ValueAnimation<Vector2> ITransitionAnimations.Start(Vector2 from, Vector2 to, int durationMs, Action<VisualElement, Vector2> onValueChanged)
Parameters
Type |
Name |
Description |
Vector2 |
from |
|
Vector2 |
to |
|
Int32 |
durationMs |
|
Action<VisualElement, Vector2> |
onValueChanged |
|
Returns
Implements
ITransitionAnimations.Start(Vector3, Vector3, Int32, Action<VisualElement, Vector3>)
Declaration
ValueAnimation<Vector3> ITransitionAnimations.Start(Vector3 from, Vector3 to, int durationMs, Action<VisualElement, Vector3> onValueChanged)
Parameters
Type |
Name |
Description |
Vector3 |
from |
|
Vector3 |
to |
|
Int32 |
durationMs |
|
Action<VisualElement, Vector3> |
onValueChanged |
|
Returns
Implements
ITransitionAnimations.TopLeft(Vector2, Int32)
Declaration
ValueAnimation<Vector2> ITransitionAnimations.TopLeft(Vector2 to, int durationMs)
Parameters
Type |
Name |
Description |
Vector2 |
to |
|
Int32 |
durationMs |
|
Returns
Implements
IExperimentalFeatures.animation
Declaration
ITransitionAnimations IExperimentalFeatures.animation { get; }
Returns
Implements
IResolvedStyle.alignContent
Declaration
Align IResolvedStyle.alignContent { get; }
Returns
Implements
IResolvedStyle.alignItems
Declaration
Align IResolvedStyle.alignItems { get; }
Returns
Implements
IResolvedStyle.alignSelf
Declaration
Align IResolvedStyle.alignSelf { get; }
Returns
Implements
IResolvedStyle.backgroundColor
Declaration
Color IResolvedStyle.backgroundColor { get; }
Returns
Implements
IResolvedStyle.backgroundImage
Declaration
Background IResolvedStyle.backgroundImage { get; }
Returns
Implements
IResolvedStyle.borderBottomColor
Declaration
Color IResolvedStyle.borderBottomColor { get; }
Returns
Implements
IResolvedStyle.borderBottomLeftRadius
Declaration
float IResolvedStyle.borderBottomLeftRadius { get; }
Returns
Implements
IResolvedStyle.borderBottomRightRadius
Declaration
float IResolvedStyle.borderBottomRightRadius { get; }
Returns
Implements
IResolvedStyle.borderBottomWidth
Declaration
float IResolvedStyle.borderBottomWidth { get; }
Returns
Implements
IResolvedStyle.borderLeftColor
Declaration
Color IResolvedStyle.borderLeftColor { get; }
Returns
Implements
IResolvedStyle.borderLeftWidth
Declaration
float IResolvedStyle.borderLeftWidth { get; }
Returns
Implements
IResolvedStyle.borderRightColor
Declaration
Color IResolvedStyle.borderRightColor { get; }
Returns
Implements
IResolvedStyle.borderRightWidth
Declaration
float IResolvedStyle.borderRightWidth { get; }
Returns
Implements
IResolvedStyle.borderTopColor
Declaration
Color IResolvedStyle.borderTopColor { get; }
Returns
Implements
IResolvedStyle.borderTopLeftRadius
Declaration
float IResolvedStyle.borderTopLeftRadius { get; }
Returns
Implements
IResolvedStyle.borderTopRightRadius
Declaration
float IResolvedStyle.borderTopRightRadius { get; }
Returns
Implements
IResolvedStyle.borderTopWidth
Declaration
float IResolvedStyle.borderTopWidth { get; }
Returns
Implements
IResolvedStyle.bottom
Declaration
float IResolvedStyle.bottom { get; }
Returns
Implements
IResolvedStyle.color
Declaration
Color IResolvedStyle.color { get; }
Returns
Implements
IResolvedStyle.display
Declaration
DisplayStyle IResolvedStyle.display { get; }
Returns
Implements
IResolvedStyle.flexBasis
Declaration
StyleFloat IResolvedStyle.flexBasis { get; }
Returns
Implements
IResolvedStyle.flexDirection
Declaration
FlexDirection IResolvedStyle.flexDirection { get; }
Returns
Implements
IResolvedStyle.flexGrow
Declaration
float IResolvedStyle.flexGrow { get; }
Returns
Implements
IResolvedStyle.flexShrink
Declaration
float IResolvedStyle.flexShrink { get; }
Returns
Implements
IResolvedStyle.flexWrap
Declaration
Wrap IResolvedStyle.flexWrap { get; }
Returns
Implements
IResolvedStyle.fontSize
Declaration
float IResolvedStyle.fontSize { get; }
Returns
Implements
IResolvedStyle.height
Declaration
float IResolvedStyle.height { get; }
Returns
Implements
IResolvedStyle.justifyContent
Declaration
Justify IResolvedStyle.justifyContent { get; }
Returns
Implements
IResolvedStyle.left
Declaration
float IResolvedStyle.left { get; }
Returns
Implements
IResolvedStyle.letterSpacing
Declaration
float IResolvedStyle.letterSpacing { get; }
Returns
Implements
IResolvedStyle.marginBottom
Declaration
float IResolvedStyle.marginBottom { get; }
Returns
Implements
IResolvedStyle.marginLeft
Declaration
float IResolvedStyle.marginLeft { get; }
Returns
Implements
IResolvedStyle.marginRight
Declaration
float IResolvedStyle.marginRight { get; }
Returns
Implements
IResolvedStyle.marginTop
Declaration
float IResolvedStyle.marginTop { get; }
Returns
Implements
IResolvedStyle.maxHeight
Declaration
StyleFloat IResolvedStyle.maxHeight { get; }
Returns
Implements
IResolvedStyle.maxWidth
Declaration
StyleFloat IResolvedStyle.maxWidth { get; }
Returns
Implements
IResolvedStyle.minHeight
Declaration
StyleFloat IResolvedStyle.minHeight { get; }
Returns
Implements
IResolvedStyle.minWidth
Declaration
StyleFloat IResolvedStyle.minWidth { get; }
Returns
Implements
IResolvedStyle.opacity
Declaration
float IResolvedStyle.opacity { get; }
Returns
Implements
IResolvedStyle.paddingBottom
Declaration
float IResolvedStyle.paddingBottom { get; }
Returns
Implements
IResolvedStyle.paddingLeft
Declaration
float IResolvedStyle.paddingLeft { get; }
Returns
Implements
IResolvedStyle.paddingRight
Declaration
float IResolvedStyle.paddingRight { get; }
Returns
Implements
IResolvedStyle.paddingTop
Declaration
float IResolvedStyle.paddingTop { get; }
Returns
Implements
IResolvedStyle.position
Declaration
Position IResolvedStyle.position { get; }
Returns
Implements
IResolvedStyle.right
Declaration
float IResolvedStyle.right { get; }
Returns
Implements
IResolvedStyle.textOverflow
Declaration
TextOverflow IResolvedStyle.textOverflow { get; }
Returns
Implements
IResolvedStyle.top
Declaration
float IResolvedStyle.top { get; }
Returns
Implements
IResolvedStyle.unityBackgroundImageTintColor
Declaration
Color IResolvedStyle.unityBackgroundImageTintColor { get; }
Returns
Implements
IResolvedStyle.unityBackgroundScaleMode
Declaration
ScaleMode IResolvedStyle.unityBackgroundScaleMode { get; }
Returns
Type |
Description |
ScaleMode |
|
Implements
IResolvedStyle.unityFont
Declaration
Font IResolvedStyle.unityFont { get; }
Returns
Implements
IResolvedStyle.unityFontDefinition
Declaration
FontDefinition IResolvedStyle.unityFontDefinition { get; }
Returns
Implements
IResolvedStyle.unityFontStyleAndWeight
Declaration
FontStyle IResolvedStyle.unityFontStyleAndWeight { get; }
Returns
Type |
Description |
FontStyle |
|
Implements
IResolvedStyle.unityParagraphSpacing
Declaration
float IResolvedStyle.unityParagraphSpacing { get; }
Returns
Implements
IResolvedStyle.unitySliceBottom
Declaration
int IResolvedStyle.unitySliceBottom { get; }
Returns
Implements
IResolvedStyle.unitySliceLeft
Declaration
int IResolvedStyle.unitySliceLeft { get; }
Returns
Implements
IResolvedStyle.unitySliceRight
Declaration
int IResolvedStyle.unitySliceRight { get; }
Returns
Implements
IResolvedStyle.unitySliceTop
Declaration
int IResolvedStyle.unitySliceTop { get; }
Returns
Implements
IResolvedStyle.unityTextAlign
Declaration
TextAnchor IResolvedStyle.unityTextAlign { get; }
Returns
Type |
Description |
TextAnchor |
|
Implements
IResolvedStyle.unityTextOutlineColor
Declaration
Color IResolvedStyle.unityTextOutlineColor { get; }
Returns
Implements
IResolvedStyle.unityTextOutlineWidth
Declaration
float IResolvedStyle.unityTextOutlineWidth { get; }
Returns
Implements
IResolvedStyle.unityTextOverflowPosition
Declaration
TextOverflowPosition IResolvedStyle.unityTextOverflowPosition { get; }
Returns
Implements
IResolvedStyle.visibility
Declaration
Visibility IResolvedStyle.visibility { get; }
Returns
Implements
IResolvedStyle.whiteSpace
Declaration
WhiteSpace IResolvedStyle.whiteSpace { get; }
Returns
Implements
IResolvedStyle.width
Declaration
float IResolvedStyle.width { get; }
Returns
Implements
IResolvedStyle.wordSpacing
Declaration
float IResolvedStyle.wordSpacing { get; }
Returns
Implements
Declaration
Matrix4x4 ITransform.matrix { get; }
Returns
Type |
Description |
Matrix4x4 |
|
Implements
Declaration
Vector3 ITransform.position { get; set; }
Returns
Implements
Declaration
Quaternion ITransform.rotation { get; set; }
Returns
Type |
Description |
Quaternion |
|
Implements
Declaration
Vector3 ITransform.scale { get; set; }
Returns
Implements
IVisualElementScheduler.Execute(Action)
Declaration
IVisualElementScheduledItem IVisualElementScheduler.Execute(Action updateEvent)
Parameters
Type |
Name |
Description |
Action |
updateEvent |
|
Returns
Implements
IVisualElementScheduler.Execute(Action<TimerState>)
Declaration
IVisualElementScheduledItem IVisualElementScheduler.Execute(Action<TimerState> timerUpdateEvent)
Parameters
Type |
Name |
Description |
Action<TimerState> |
timerUpdateEvent |
|
Returns
Implements
Extension Methods