• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,543 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0082 秒)

691. this.bitmap.activeResource is not a function TypeError: this.bitmap.activeResource is not a function [ 66%]

...s.bitmap.activeResource is not a function     使用代码如下:var rankTexture:Texture = new Texture(Laya.Browser.window.sharedCanvas); var image:Laya.Image = new Laya.Image(); image.source = rankTexture; Laya.stage.addChild(image);     附件 : --> 2018-04-03 1 条评论 免费帖 --> 分享 ...

来源: Laya_社区 发布时间: 20180403

692. 3D场景环境设置 · LayaAir3.3 · 引擎文档 · LAYABOX [ 65%]

...数据要更少,所以这种天空的性能要更好一些。 Panoramic Texture:天空盒的纹理贴图(一张球形模型对应的贴图) 2.1.1 立方体天空 立方体天空盒用到的6张可以无缝相接的贴图参考,图2-5所示 (图2-5) 2.1.2 球形天空 是一个球形模...

来源: Laya3.0_文档 发布时间: 20251010

693. [LayaAir3]一个 jpg 图片儿,在勾选了sRGB的情况下,为啥在 Premultiply Alpha 选和不选两种情况时,预览区看到的图片的显示亮度不一样呢? [ 65%]

...览区看到的图片的显示亮度不一样呢? 一个 jpg 图片儿, texture type: Default, 勾选sRGB   为啥在 Premultiply Alpha 选和不选两种情况时,apply 后,预览区看到的图片的显示亮度不一样呢. 但是在场景区显示相同. 发现了,当我勾选了 sRGB...

来源: Laya_社区 发布时间: 20251015

694. 我想移动容器来实现前进的动画,但是移动不了。这里的y有问题 但是又不知道改成什么 [ 65%]

...ain=(function() {   var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL;   (function() { // 不支持WebGL时自动切换至Canvas Laya.init(400,852); Laya.stage.alignV = Stage.ALIGN_MIDDLE; La...

来源: Laya_社区 发布时间: 20191017

695. png使用base64显示异常 [ 65%]

...n () { // image.onload = null; // image.onerror = null; // var data = Laya.Texture2D._parse(image); // data._url = "sdfasf" // _this.onLoaded(data); img=HTMLImage.create(image.width,image.height,1); img.loadImageSource(image,true); img._setCreateURL(url); _this.onLoaded(img); }; var url = _this.arra...

来源: Laya_社区 发布时间: 20210809

696. LAYA3D,如何关闭ALPHA预乘 premultiply alpha [ 65%]

...e precision loss occurs on IE. Try separating color and alpha to different textures. 2018-04-14 0 0 分享 微博 QZONE 微信 InJoins 赞同来自: 又一个GITHUB上的相关信息: Some implementations of HTMLCanvasElement's CanvasRenderingContext2D store color values internally in premultiplie...

来源: Laya_社区 发布时间: 20180414

697. laya.ui.ColorPicker [ 65%]

...手动刷新。 注意: 1.Sprite tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer...

来源: laya_api 发布时间: 20170929

698. laya.physics.PhysicsDebugDraw_API3.0 [ 65%]

...votY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy...

来源: Laya3.0_api 发布时间: 20231115

699. laya.ani.swf.MovieClip_API3.0 [ 65%]

...tation scaleX scaleY scene scrollRect skewX skewY source stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clearTimer contains customRende...

来源: Laya3.0_api 发布时间: 20231115

700. Laya集成Matter.js库layaSprite水平翻转无法显示的bug [ 65%]

...           {                         // texture: 'common1/btn_new.png',                         xOffset: 127,                         yOffset: 46,                     }               ...

来源: Laya_社区 发布时间: 20180621