atlasTextureIndex
TypeScriptget atlasTextureIndex(): numberSwift declarationvar atlasTextureIndex: IntIndex of the atlas within the LightmapResource.
struct · iOS 27.0+ · SDK 27.1
struct AtlasReferenceSpecifies an area in a lightmap atlas to fetch data from.
get atlasTextureIndex(): numberSwift declarationvar atlasTextureIndex: IntIndex of the atlas within the LightmapResource.
set atlasTextureIndex(value: number)Swift declarationvar atlasTextureIndex: IntIndex of the atlas within the LightmapResource.
get atlasTextureSlice(): numberSwift declarationvar atlasTextureSlice: IntIndex of the slice within the atlas.
set atlasTextureSlice(value: number)Swift declarationvar atlasTextureSlice: IntIndex of the slice within the atlas.
get uvScale(): SDKHandleSwift declarationvar uvScale: SIMD2<Float>A scale to apply to lightmap UV attribute before sampling from the slice of the atlas. Note that lightmap textures use the Metal convention: UV (0,0) corresponds to the top-left corner of the image, while UV (1,1) corresponds to the bottom-right.
set uvScale(value: SDKHandle)Swift declarationvar uvScale: SIMD2<Float>A scale to apply to lightmap UV attribute before sampling from the slice of the atlas. Note that lightmap textures use the Metal convention: UV (0,0) corresponds to the top-left corner of the image, while UV (1,1) corresponds to the bottom-right.
get uvOffset(): SDKHandleSwift declarationvar uvOffset: SIMD2<Float>An offset to apply to lightmap UV attribute before sampling from the slice of the atlas. Note that lightmap textures use the Metal convention: UV (0,0) corresponds to the top-left corner of the image, while UV (1,1) corresponds to the bottom-right.
set uvOffset(value: SDKHandle)Swift declarationvar uvOffset: SIMD2<Float>An offset to apply to lightmap UV attribute before sampling from the slice of the atlas. Note that lightmap textures use the Metal convention: UV (0,0) corresponds to the top-left corner of the image, while UV (1,1) corresponds to the bottom-right.
static init(): LightmapResource_AtlasReferenceSwift declarationinit()No declarations were skipped in this snapshot.