大约有 2,371 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0062 秒)
Laya_社区(1763) Laya3.0_api(144) Laya2.0_文档(127) Laya2.0_api(103) laya_api(77) Laya3.0_文档(67) Laya_示例(48) Laya2.0_示例(42)
ts怎么调用input file弹框选择本地文件 这是index.html加的 <input type="file" id="file"> <script type="text/javascript"> function openFile(){ document.getElementById("file").click(); } ts里调用 openFile() 弹不出文件选择框 请问该用什么方法 2017-07-06...
来源: Laya_社区 发布时间: 20170706
...找到相关结果 已邀请: 与内容相关的链接 提交 9 个回复 xxxxxxxxxx 赞同来自: 敷 衍 xxxxxx 2018-12-19 1 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 怎么引的? 2018-10-17 0 2 分享 微博 QZONE 微信 fftidus 赞同来自: 测试项目 TestTS.zip 2018-10-17 0 1 ...
来源: Laya_社区 发布时间: 20181017
...emRender = gamepublicspaceitem.PublicSpaceItem; this.publicSpaceList.repeatX = 1; this.publicSpaceList.repeatY = 3; this.publicSpaceList.spaceY = 0; // this.publicSpaceList.x = 22; this.publicSpaceList.y = 100; this.publicSpaceList.width = 1553; this.publicSpaceList.height = 810;// this.publicSpaceL...
来源: Laya_社区 发布时间: 20170923
Sp.graphics.drawTexture()中的color参数使用的时候,会概率性导致整个场景中的节点颜色改变成我们使用过的颜色。 没有进行其他操作 Sp.graphics.drawTexture(_PreloadUrl._list.texture.brushworkCommon.texture, pointArr[index].x - this.DrawControl.radiu...
来源: Laya_社区 发布时间: 20201103
...压力大时,可以选择不开启。3D抗锯齿推荐使用摄像机的Fxaa或Msaa。 视网膜画布模式 是否使用高清画布模式;开启后无论任何适配模式,画布均采用物理分辨率大小,开启后会比不采用物理分辨率多一些性能消耗,但会让文本等...
来源: Laya3.0_文档 发布时间: 20251014
...异常 目前是在win设备导出了ohosNative项目,然后因为没有x86架构,所以用mac arm架构设备打开ohos项目,打包到鸿蒙虚拟设备后,出现着色器的异常,如附件所示。 定位到异常是 执行 Shader._createShader(gl, this._ps, gl.FRAGMENT_SHADER); ...
来源: Laya_社区 发布时间: 20251217
Search Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/events/MouseManager" MouseManager Class MouseManager MouseManager 是鼠标、触摸交互管理器。 鼠标事件流包括捕获阶段...
来源: Laya3.0_api 发布时间: 20231102
...ze=true; sp2.name='sp2'; sp2.graphics.drawRect(0,0,100,100,"#0000FF"); sp2.x=110; Laya.stage.addChild(sp1); Laya.stage.addChild(sp2); onAddEvent(sp1); onAddEvent(sp2); } private function onAddEvent(target:Sprite):void { target.on(Event.MOUSE_OVER,this,onMouse); target.on(Event.MOUSE_OUT,this,onMouse...
来源: Laya_社区 发布时间: 20170502
相机texture内模型移动的问题 我是参照官方这个demo(https://layaair2.ldc2.layabox.com/demo2/?language=zh&category=3d&group=Advance&name=Scene2DPlayer3D)做的2D场景加载3D模型,但是我的地图上需要加上百个人物和怪物,demo中的方式每个3D模...
来源: Laya_社区 发布时间: 20220613
... static _openZone:Laya.Sprite; //开放域纹理 private static _openZoneTexture:Laya.Texture; public static openZone(vx:number=0,vy:number=0,scaleX:number=1,scaleY:number=1) { if(!this._openZone) { //开放域 this._openZone = new Laya.Sprite(); } this._openZone.size(Laya.stage.width,Laya.stage.hei...
来源: Laya_社区 发布时间: 20200618