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

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

601. laya.ui.ViewStack_API3.0 [ 68%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D items left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scen...

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

602. 模拟石头下落过程不明抖动 [ 68%]

...上代码import './aui/aui'; import { Game } from './public/Game'; import Stage = Laya.Stage; export class TexasMain{ private balls:Laya.Sprite = ; constructor(){ Config.isAntialias = true // alert("宽"+Laya.Browser.clientWidth+"高"+Laya.Browser.clientHeight ); // Laya.init(Laya.Browser.clientWidt...

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

603. 局部坐标转全局坐标结果与预期相差甚远 [ 68%]

...很远了 2018-12-19 0 4 分享 微博 QZONE 微信 LT 赞同来自: Laya.stage.addChild(this); Laya.timer.once(500,this,test); 转坐标放在后面加了个延时执行。。就没问题了。。应该是执行的时候组件还没有全部加进stage。。 2018-12-20 0 0 分享 微博 QZONE 微...

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

604. 粒子加载报错 [ 68%]

...= new Laya.Particle2D(settings); // sp.emitter.start(); // sp.play(); Laya.stage.addChild(sp);  sp.x = Laya.stage.width / 2; sp.y = Laya.stage.height / 2; } 附件 : --> 2019-12-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

605. setSubPixels画布擦除不掉 [ 68%]

...aya.Image = new Laya.Image(this.aUrl); aImg.scaleX = aImg.scaleY = 2; Laya.stage.addChild(aImg); aImg.mouseEnabled = false; this.aImg = aImg; } //清除目标纹理的像素 let _sourceTex:Laya.Texture = Laya.Loader.getRes(this.aUrl); let ret = new Uint8Array(_sourceTex.width * _sourceTex.height * 4...

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

606. laya.ui.VBox_API3.0 [ 68%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...

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

607. FaceBook iPhone X 适配(其他正常) [ 68%]

....height 适配代码: Laya3D.init(1336, 750); Laya.init(1336, 750); Laya.stage.screenMode = "none"; Laya.stage.alignV = "middle"; Laya.stage.alignH = "center"; Laya.stage.bgColor = "#0000000"; if (Laya.Browser.onPC) { Laya.stage.scaleMode = "exactfit"; } else { Laya.stage.scaleMode = "fixedheight"...

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

608. drawToCanvas内存泄漏 [ 68%]

...webglcanvas 后内存不会增加了    let htmlC: HTMLCanvas = Laya.stage.drawToCanvas(Laya.stage.width, Laya.stage.height, 0, 0);         if (htmlC) {             htmlC.toBase64("image/jpeg", 0.3, (base64) => {                 htmlC.releaseReso...

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

609. 请问这是原因? [ 68%]

... MiniAdpter.init(); Laya.init(Browser.width, Browser.height,WebGL); Laya.stage.scaleMode = "full"; Laya.stage.bgColor = "#232628"; //画一个圆 sprite = new Sprite(); sprite.pos(500,500); var graphics:Graphics = new Graphics(); graphics.drawCircle(0,0,100,"#00CC33"); sprite.graphics = graphics; La...

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

610. laya.ui.HBox_API3.0 [ 68%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...

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