Version 3.3.0.1

GUILayoutEntry_Internal<T> struct

Namespace: Sirenix.Reflection.Editor
Assembly: Sirenix.Reflection.Editor
public struct GUILayoutEntry_Internal<T> : IEquatable<GUILayoutEntry_Internal<T>> where T : class

Type Parameters

T

Properties

consideredForMargin
public bool consideredForMargin { get; }
Entry
public object Entry { get; }
maxHeight
public float maxHeight { get; }
maxWidth
public float maxWidth { get; }
minHeight
public float minHeight { get; }
minWidth
public float minWidth { get; }
rect
public Rect rect { get; }
stretchHeight
public int stretchHeight { get; }
stretchWidth
public int stretchWidth { get; }
Value
public T Value { get; }

Methods

CalcHeight()
public void CalcHeight()
CalcHeight(Single, Single)
public void CalcHeight(float x, float width)
Parameters
System.Single x

System.Single width

CalcWidth()
public void CalcWidth()
CalcWidth(Single, Single)
public void CalcWidth(float y, float height)
Parameters
System.Single y

System.Single height

CreateCustom(T, SetVertical<T>, SetHorizontal<T>, CalcWidth<T>, CalcHeight<T>)
public static GUILayoutEntry_Internal<T> CreateCustom(T value, SetVertical<T> setVertical, SetHorizontal<T> setHorizontal, CalcWidth<T> calcWidth, CalcHeight<T> calcHeight)
Parameters
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

Equals(GUILayoutEntry_Internal<T>)
public bool Equals(GUILayoutEntry_Internal<T> other)
Parameters
GUILayoutEntry_Internal<T> other

Returns
System.Boolean

Equals(Object)
public override bool Equals(object obj)
Parameters
System.Object obj

Returns
System.Boolean

GetHashCode()
public override int GetHashCode()
Returns
System.Int32

Operators

Equality(GUILayoutEntry_Internal<T>, GUILayoutEntry_Internal<T>)
public static bool operator ==(GUILayoutEntry_Internal<T> left, GUILayoutEntry_Internal<T> right)
Parameters
GUILayoutEntry_Internal<T> left

GUILayoutEntry_Internal<T> right

Returns
System.Boolean

Inequality(GUILayoutEntry_Internal<T>, GUILayoutEntry_Internal<T>)
public static bool operator !=(GUILayoutEntry_Internal<T> left, GUILayoutEntry_Internal<T> right)
Parameters
GUILayoutEntry_Internal<T> left

GUILayoutEntry_Internal<T> right

Returns
System.Boolean