atlasLayout
此内容尚不支持你的语言。
atlasLayout(
faceSize,mipCount):object
Defined in: sdk/src/lightmap/environmentAtlas.ts:113
The atlas’ pixel size, and where each mip’s face begins in it. Mips stack downward, every face ringed by one texel so a bilinear tap at the edge of one never reaches into the next.
Parameters
Section titled “Parameters”faceSize
Section titled “faceSize”number
mipCount
Section titled “mipCount”number
Returns
Section titled “Returns”object
height
Section titled “height”height:
number
offsets
Section titled “offsets”offsets:
number[]
width:
number