Namespace: | Sirenix.OdinInspector.Editor.Internal.UIToolkitIntegration |
Assembly: | Sirenix.OdinInspector.Editor |
public static class ImguiElementUtils
public static readonly bool IsSupported
public static Rect EmbedVisualElementAndDrawItHere(OdinImGuiElement element)
OdinImGuiElement | element |
UnityEngine.Rect |
public static Rect EmbedVisualElementAndDrawItHere(OdinImGuiElement element, GUIContent label)
OdinImGuiElement | element | |
UnityEngine.GUIContent | label |
UnityEngine.Rect |
public static IEnumerable<StyleSheet> GetAllStyleSheets(VisualElement e)
UnityEngine.UIElements.VisualElement | e |
System.Collections.Generic.IEnumerable<UnityEngine.UIElements.StyleSheet> |
public static Rect GetImGUILayoutRectForElement(OdinImGuiElement element)
OdinImGuiElement | element |
UnityEngine.Rect |
public static Rect MeasureSizeOfVisualElement(VisualElement targetContainer, VisualElement element, float width)
UnityEngine.UIElements.VisualElement | targetContainer | |
UnityEngine.UIElements.VisualElement | element | |
System.Single | width |
UnityEngine.Rect |
public static void RegisterSerializedPropertyChangeEventCallback(PropertyField propertyField, Action<SerializedProperty> callback)
UnityEditor.UIElements.PropertyField | propertyField | |
System.Action<UnityEditor.SerializedProperty> | callback |