供 babylon.texture.createImage 使用:用于贴花和投影的图像地址,保留其透明度且不平铺。
babylon.texture.createImage
Optional
纹理在场景中的名称
Image Texture Copy
Image Texture
图像的地址:公开 URL、数据 URL 或由上传文件生成的对象 URL
undefined Copy
undefined
为 true 时,图像的透明像素保持透明,镂空贴花需要此设置
true Copy
true
为 true 时,图像上下翻转;当贴花显示为倒置时使用
false Copy
false
图像缩放时像素的读取方式:nearest 保持硬边像素,bilinear 和 trilinear 进行混合
trilinear Copy
trilinear
Namespace: Bit › Inputs › BabylonTexture
Other symbols in Inputs.BabylonTexture:
API reference home · Full symbol index · Tutorials and guides · Platform
供
babylon.texture.createImage使用:用于贴花和投影的图像地址,保留其透明度且不平铺。