API

Interface IMeshUVSpaceRendererOptionsSince

Options for the MeshUVSpaceRenderer 5.49.1

interface IMeshUVSpaceRendererOptions {
    generateMipMaps?: boolean;
    height?: number;
    optimizeUVAllocation?: boolean;
    textureType?: number;
    uvEdgeBlending?: boolean;
    width?: number;
}
Index
generateMipMaps?: boolean

Generate mip maps. Default: true

height?: number

Height of the texture. Default: 1024

optimizeUVAllocation?: boolean

Optimize UV allocation. Default: true If you plan to use the texture as a decal map and rotate / offset the texture, you should set this to false

textureType?: number

Type of the texture. Default: Constants.TEXTURETYPE_UNSIGNED_BYTE

uvEdgeBlending?: boolean

If true, a post processing effect will be applied to the texture to fix seams. Default: false

width?: number

Width of the texture. Default: 1024