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

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

601. laya.ui.HScrollBar [ 68%]

...,设置为true后,会变灰并且禁用鼠标。Component displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以...

来源: laya_api 发布时间: 20170929

602. 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

603. 模拟石头下落过程不明抖动 [ 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

604. 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

605. 局部坐标转全局坐标结果与预期相差甚远 [ 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

606. 粒子加载报错 [ 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

607. 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

608. 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

609. 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

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