Namespace: | Sirenix.Reflection.Editor |
Assembly: | Sirenix.Reflection.Editor |
public struct GUILayoutEntry_Internal<T> : IEquatable<GUILayoutEntry_Internal<T>> where T : class
public bool consideredForMargin { get; }
public object Entry { get; }
public float maxHeight { get; }
public float maxWidth { get; }
public float minHeight { get; }
public float minWidth { get; }
public Rect rect { get; }
public int stretchHeight { get; }
public int stretchWidth { get; }
public T Value { get; }
public void CalcHeight()
public void CalcHeight(float x, float width)
System.Single | x | |
System.Single | width |
public void CalcWidth()
public void CalcWidth(float y, float height)
System.Single | y | |
System.Single | height |
public static GUILayoutEntry_Internal<T> CreateCustom(T value, SetVertical<T> setVertical, SetHorizontal<T> setHorizontal, CalcWidth<T> calcWidth, CalcHeight<T> calcHeight)
T | value | |
Sirenix.Reflection.Editor.SetVertical<T> | setVertical | |
Sirenix.Reflection.Editor.SetHorizontal<T> | setHorizontal | |
Sirenix.Reflection.Editor.CalcWidth<T> | calcWidth | |
Sirenix.Reflection.Editor.CalcHeight<T> | calcHeight |
GUILayoutEntry_Internal<T> |
public bool Equals(GUILayoutEntry_Internal<T> other)
GUILayoutEntry_Internal<T> | other |
System.Boolean |
public override bool Equals(object obj)
System.Object | obj |
System.Boolean |
public override int GetHashCode()
System.Int32 |
public static bool operator ==(GUILayoutEntry_Internal<T> left, GUILayoutEntry_Internal<T> right)
GUILayoutEntry_Internal<T> | left | |
GUILayoutEntry_Internal<T> | right |
System.Boolean |
public static bool operator !=(GUILayoutEntry_Internal<T> left, GUILayoutEntry_Internal<T> right)
GUILayoutEntry_Internal<T> | left | |
GUILayoutEntry_Internal<T> | right |
System.Boolean |