Bitbybit Docs
    Preparing search index...

    Class TextureImageDto (Inputs.BabylonTexture)

    babylon.texture.createImage 使用:用于贴花和投影的图像地址,保留其透明度且不平铺。

    Index

    Constructors

    Properties

    name: string

    纹理在场景中的名称

    Image Texture
    
    url: string

    图像的地址:公开 URL、数据 URL 或由上传文件生成的对象 URL

    undefined
    
    hasAlpha: boolean

    为 true 时,图像的透明像素保持透明,镂空贴花需要此设置

    true
    
    invertY: boolean

    为 true 时,图像上下翻转;当贴花显示为倒置时使用

    false
    

    图像缩放时像素的读取方式:nearest 保持硬边像素,bilinear 和 trilinear 进行混合

    trilinear