构造函数
方法
getTileBaseOutline
getTileBaseOutline(): number[]
gridToPixel
gridToPixel(row: number, col: number, out: Vector2): void
pixelToGrid
pixelToGrid(pixelx: number, pixely: number, out: Vector2): void 参数
- pixelx: number
- pixely: number
- out: Vector2
返回 void
setTileSize
setTileSize(width: number, height: number): void 参数
- width: number
- height: number
返回 void
格子系统转像素系统