C# Class UnityEditor.VerticalGrid

ファイルを表示 Open project: randomize/VimConfig Class Usage Examples

Public Methods

Method Description
CalcColumns ( ) : int
CalcRect ( int itemIdx, float yOffset ) : Rect
CalcRows ( int itemCount ) : int
GetMaxVisibleItems ( float height ) : int
InitNumRowsAndColumns ( int itemCount, int maxNumRows ) : void
IsVisibleInScrollView ( float scrollViewHeight, float scrollPos, float gridStartY, int maxIndex, int &startIndex, int &endIndex ) : bool
ToString ( ) : string

Method Details

CalcColumns() public method

public CalcColumns ( ) : int
return int

CalcRect() public method

public CalcRect ( int itemIdx, float yOffset ) : Rect
itemIdx int
yOffset float
return UnityEngine.Rect

CalcRows() public method

public CalcRows ( int itemCount ) : int
itemCount int
return int

GetMaxVisibleItems() public method

public GetMaxVisibleItems ( float height ) : int
height float
return int

InitNumRowsAndColumns() public method

public InitNumRowsAndColumns ( int itemCount, int maxNumRows ) : void
itemCount int
maxNumRows int
return void

IsVisibleInScrollView() public method

public IsVisibleInScrollView ( float scrollViewHeight, float scrollPos, float gridStartY, int maxIndex, int &startIndex, int &endIndex ) : bool
scrollViewHeight float
scrollPos float
gridStartY float
maxIndex int
startIndex int
endIndex int
return bool

ToString() public method

public ToString ( ) : string
return string