프로퍼티 | 타입 | 설명 | |
---|---|---|---|
LastMousePos | int2 | ||
TicksSinceLastMove | long |
메소드 | 설명 | |
---|---|---|
Center ( IEnumerable |
||
Center ( WPos pos ) : void | ||
GetBlockedDirections ( ) : ScrollDirection | ||
GetScissorBounds ( bool insideBounds ) : |
||
Scroll ( float2 delta, bool ignoreBorders ) : void | ||
ViewToWorld ( int2 view ) : CPos | ||
ViewToWorldPx ( int2 view ) : int2 | ||
Viewport ( |
||
WorldToViewPx ( int2 world ) : int2 |
메소드 | 설명 | |
---|---|---|
CalculateVisibleCells ( bool insideBounds ) : ProjectedCellRegion | ||
CandidateMouseoverCells ( int2 world ) : IEnumerable |
Returns an unfiltered list of all cells that could potentially contain the mouse cursor
|
|
ClosestTo ( float collection, float target ) : float |
public GetScissorBounds ( bool insideBounds ) : |
||
insideBounds | bool | |
리턴 |
public Scroll ( float2 delta, bool ignoreBorders ) : void | ||
delta | float2 | |
ignoreBorders | bool | |
리턴 | void |
public Viewport ( |
||
wr | ||
map | Map | |
리턴 | System |