Bitbybit Docs
    Preparing search index...

    Class TextureImageDto (Inputs.BabylonTexture)

    Feeds babylon.texture.createImage: the address of an image for decals and projections, with its transparency kept and no tiling.

    Index

    Constructors

    Properties

    name: string

    Name the texture is known by in the scene

    Image Texture
    
    url: string

    Address of the image: a public URL, a data URL or an object URL made from an uploaded file

    undefined
    
    hasAlpha: boolean

    When true, transparent pixels of the image stay transparent, which cut-out decals need

    true
    
    invertY: boolean

    When true, the image is flipped top to bottom; use it when a decal appears upside down

    false
    

    How pixels are read when the image is scaled: nearest keeps hard pixels, bilinear and trilinear blend them

    trilinear