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

大约有 904 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0065 秒)

641. laya.ui.AsynDialog [ 65%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component dragArea : String 用来指定对话框的拖...

来源: laya_api 发布时间: 20170929

642. 使用webgl之后toDataUrl返回黑色的图像 [ 65%]

...unction LayaAirDemo() { //初始化引擎 Laya.init(Browser.width, Browser.height,WebGL); Stat.show(); Laya.stage.bgColor = "#ffcccc"; Laya.stage.on(Event.CLICK,this,onClick); sp= new Sprite(); sp.name='base'; sp.loadImage("logo.png"); Laya.stage.addChild(sp); } private function onClick():void { var...

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

643. laya.d3.core.scene.Scene3D_API3.0 [ 65%]

...AG_SKYBOX SceneUBOData drawtocanvCtx sceneUniformMap Accessors GIRotate _isHeightSet _isWidthSet active activeInHierarchy alpha ambientColor ambientIntensity ambientMode ambientSH anchorX anchorY blendMode cacheAs components cullInfoCamera cullPass customRenderEnable destroyed displayHeight displayW...

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

644. ts项目 模块问题 [ 65%]

...nds Laya.Sprite { constructor() { super(); this.pivot(this.width / 2, this.height / 2); this.graphics.drawRect(0, 0, this._size, this._size, this._color); } }   //a文件 import player from './player'; // 程序入口 class GameMain { constructor() { Laya.init(640, 960); var stage = Laya.stage; let...

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

645. laya.ui.Radio_API3.0 [ 65%]

...oSize hitTestPrior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY clickHandler components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStag...

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

646. LayaAirIDE 2.0 laya.wxmini.js 第3行报错! 创建3D项目(TypeScript),导出微信小游戏,选择了JS混淆,崩溃在 laya.wxmini.js 第3行,错误如下 [ 65%]

... console.log("Laya.stage size = " + Laya.stage.width + " x " + Laya.stage.height             + ", design = " + Laya.stage.designWidth + " x " + Laya.stage.designHeight);   但不知道这个bug规律在什么地方 莫名其妙去掉一行 log,又不报错了,今天不知道怎么...

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

647. 其他引擎的Demo-Example_23 [ 65%]

...高效。const Browser = Laya.Browser; let viewWidth = Browser.width, viewHeight = Browser.height, lasers = [], tick = 0, frequency = 80, type = 0; class PIXI_Example_23 { constructor() { const WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自...

来源: Laya2.0_示例 发布时间: 20241001

648. laya.ui.UIGroup_API3.0 [ 65%]

...itTestPrior mouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed direction disabled displayHeight displayWidth displayedI...

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

649. 发布到微信画面显示不全 [ 65%]

....width / Laya.Render.canvas.width / Laya.Browser.pixelRatio), Laya.Browser.height / Laya.Render.canvas.height / Laya.Browser.pixelRatio); var canvas = Laya.Render._mainCanvas; var canvasStyle = canvas.source.style; canvasStyle.transform = canvasStyle.webkitTransform = canvasStyle.msTransform = canva...

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

650. 微信开放数据域加载图片后报错 Cannot read property 'USER_DATA_PATH' of undefined [ 65%]

...             var img:Image = new Image("../res/test.png"); img.height = 100; img.width = 100;             Laya.stage.addChild(img); } 附件 : --> 2019-05-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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