Namespace: | Sirenix.Reflection.Editor |
Assembly: | Sirenix.Reflection.Editor |
public struct LayoutSize
public LayoutSize(float value, SizeMode sizeType)
System.Single | value | |
SizeMode | sizeType |
public static LayoutSize Auto
public SizeMode Type
public float Value
public float GetSizeInPixels(float width)
System.Single | width |
System.Single |
public static LayoutSize Percentage(float percentage)
System.Single | percentage |
LayoutSize |
public override string ToString()
System.String |
public static implicit operator LayoutSize(SizeMode type)
SizeMode | type |
LayoutSize |
public static implicit operator LayoutSize(float val)
System.Single | val |
LayoutSize |