Namespace: | Sirenix.OdinInspector.Editor.Internal |
Assembly: | Sirenix.OdinInspector.Editor |
public struct VisibleItems
public readonly int Length
public readonly int Offset
public Rect this[int index] { get; }
System.Int32 | index |
public static OdinGUIScrollView.VisibleItems None { get; }
index
; this is the second parameter assigned in the AllocateRect(Single, Object) method.
public object GetAssociatedData(int index)
System.Int32 | index | The index of the UnityEngine.Rect to retrieve the associated data from. |
System.Object | The associated data. |
public T GetAssociatedData<T>(int index)
System.Int32 | index | The index of the UnityEngine.Rect to retrieve the associated data from. |
T | The associated data. |
T | The expected associated data type. |
public Rect GetCombinedRects()
UnityEngine.Rect | The created UnityEngine.Rect. |
index
.
public float GetIndentation(int index)
System.Int32 | index | The |
System.Single | The indentation for the UnityEngine.Rect. |
public Rect GetRect(int index)
System.Int32 | index |
UnityEngine.Rect |
public bool HasAssociatedData(int index)
System.Int32 | index | The index of the UnityEngine.Rect to check. |
System.Boolean |
|