VisualElementReference
Creates a new empty VisualElementReference.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
VisualElementReference()
Creates a new empty VisualElementReference.
public VisualElementReference()
VisualElementReference(PanelRenderer, AuthoringIdPath)
Creates a new VisualElementReference pointing to the given renderer and path.
public VisualElementReference(PanelRenderer renderer, AuthoringIdPath path)
Parameters
The PanelRenderer that contains the VisualTreeAsset.
The path of the element to reference.