Свойство | Type | Description | |
---|---|---|---|
LastMousePos | int2 | ||
TicksSinceLastMove | long |
Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
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 Center ( IEnumerable |
||
actors | IEnumerable |
|
Résultat | void |
public GetBlockedDirections ( ) : ScrollDirection | ||
Résultat | ScrollDirection |
public GetScissorBounds ( bool insideBounds ) : |
||
insideBounds | bool | |
Résultat |
public Scroll ( float2 delta, bool ignoreBorders ) : void | ||
delta | float2 | |
ignoreBorders | bool | |
Résultat | void |
public Viewport ( |
||
wr | ||
map | Map | |
Résultat | System |