大约有 1,720 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0068 秒)
Laya_社区(1002) Laya3.0_api(243) Laya2.0_示例(91) Laya_示例(90) Laya2.0_文档(89) Laya2.0_api(82) laya_api(75) Laya3.0_文档(48)
...prite2.graphics.drawTexture(rankTexture,5,78,rankTexture.width,rankTexture.height); }); 报错bitmap._addReference is not a function TypeError: bitmap._addReference is not a function 这是报错地方的代码 /** *<code>Texture</code> 是一个纹理处理类。 */ //class laya.resourc...
来源: Laya_社区 发布时间: 20180504
.../很长一串文字 textarea.initialize(); textarea.width = 908; textareat.height = 379; textarea.vScrollBar.scrollSize = 70;设置vScrollBar的scrollSize量没有效果 滑鼠滚轮滚动异常缓慢 另外发现就算设置成不可编辑 文本还是能被选取 有办法禁止吗 2017-09-21 ...
来源: Laya_社区 发布时间: 20170921
...aphics _scene _skinBaseUrl _url autoSize canvasDegree canvasRotation designHeight designWidth focus hitTestPrior mouseThrough name renderingEnabled screenAdaptationEnabled tag useRetinalCanvas ALIGN_BOTTOM ALIGN_CENTER ALIGN_LEFT ALIGN_MIDDLE ALIGN_RIGHT ALIGN_TOP FRAME_FAST FRAME_MOUSE FRAME_SLEEP ...
来源: Laya3.0_api 发布时间: 20231115
....Sprite(); clickRect.graphics.drawRect( 0, 0, Laya.stage.width, Laya.stage.height-100 ); clickRect.pos( 0, 0 ); clickRect.size( Laya.stage.width, Laya.stage.height-100 ); Laya.stage.addChild( clickRect ); clickRect.on( Laya.Event.CLICK, this, changeVxVy ); } function changeVxVy( e ){ console.log( e...
来源: Laya_社区 发布时间: 20180201
....leading = 30; txt.pos(Laya.stage.width - txt.width >> 1, Laya.stage.height - txt.height >> 1); Laya.stage.addChild(txt); } 附件 : --> 2019-07-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什...
来源: Laya_社区 发布时间: 20190705
...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多...
来源: laya_api 发布时间: 20170929
...; } // 生成一个矩形 private generateRectVerticesAndUV(width: number, height: number): Laya.Mesh2D { const vertices = new Float32Array(4 * 5); const indices = new Uint16Array(2 * 3); let index = 0; vertices[index++] = 0; vertices[index++] = 0; vertices[index++] = 0; vertices[index++] = 0; verti...
来源: Laya3.0_文档 发布时间: 20251010
...WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; connect(); showLogger(); })(); function connect() { hr = new Ht...
来源: Laya_示例 发布时间: 20251209
...lay autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize emitter filters globalRotation global...
来源: Laya3.0_api 发布时间: 20231115
...url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY autoPlay blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globa...
来源: Laya3.0_api 发布时间: 20231115