Class CAAT.Module.TexturePacker.TextureScan
Defined in: TextureScan.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<private> |
__init(w)
|
findWhereFits(width)
return an array of values where a chunk of width size fits in this scan.
|
|
fits(position, size)
|
|
log(index)
|
|
substract(position, size)
|
Field Detail
freeChunks
Method Detail
<private>
__init(w)
- Parameters:
- w
findWhereFits(width)
return an array of values where a chunk of width size fits in this scan.
- Parameters:
- width
fits(position, size)
- Parameters:
- position
- size
log(index)
- Parameters:
- index
substract(position, size)
- Parameters:
- position
- size