Class IMGUIContainer
Implements
Inherited Members
Namespace: UnityEngine.Experimental.UIElements
Assembly: UnityEngine.dll
Syntax
public class IMGUIContainer : VisualElement, IEventHandler, ITransform, IUIElementDataWatch, IEnumerable<VisualElement>, IEnumerable, IVisualElementScheduler, IStyle
Constructors
| Improve this Doc View SourceIMGUIContainer()
Declaration
public IMGUIContainer()
IMGUIContainer(Action)
Declaration
public IMGUIContainer(Action onGUIHandler)
Parameters
Type | Name | Description |
---|---|---|
Action | onGUIHandler |
Properties
| Improve this Doc View SourcecanGrabFocus
Declaration
public override bool canGrabFocus { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
| Improve this Doc View SourcecontextType
Declaration
public ContextType contextType { get; set; }
Property Value
Type | Description |
---|---|
ContextType |
Methods
| Improve this Doc View SourceDoMeasure(Single, VisualElement.MeasureMode, Single, VisualElement.MeasureMode)
Declaration
protected override Vector2 DoMeasure(float desiredWidth, VisualElement.MeasureMode widthMode, float desiredHeight, VisualElement.MeasureMode heightMode)
Parameters
Type | Name | Description |
---|---|---|
Single | desiredWidth | |
VisualElement.MeasureMode | widthMode | |
Single | desiredHeight | |
VisualElement.MeasureMode | heightMode |
Returns
Type | Description |
---|---|
Vector2 |
Overrides
| Improve this Doc View SourceDoRepaint(IStylePainter)
Declaration
protected override void DoRepaint(IStylePainter painter)
Parameters
Type | Name | Description |
---|---|---|
IStylePainter | painter |
Overrides
| Improve this Doc View SourceExecuteDefaultAction(EventBase)
Declaration
protected override void ExecuteDefaultAction(EventBase evt)
Parameters
Type | Name | Description |
---|---|---|
EventBase | evt |
Overrides
| Improve this Doc View SourceHandleEvent(EventBase)
Declaration
public override void HandleEvent(EventBase evt)
Parameters
Type | Name | Description |
---|---|---|
EventBase | evt |
Overrides
| Improve this Doc View SourceMarkDirtyLayout()
Declaration
public void MarkDirtyLayout()