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

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

2111. ts怎么调用input file弹框选择本地文件 [ 48%]

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

2112. Laya2下新建ts文件不会自动编译 [ 48%]

...找到相关结果 已邀请: 与内容相关的链接 提交 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

2113. Image.loadImage 方法加载问题 [ 48%]

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

2114. Sp.graphics.drawTexture()中的color参数使用的时候,会概率性导致整个场景中的节点颜色改变成我们使用过的颜色。 [ 48%]

Sp.graphics.drawTexture()中的color参数使用的时候,会概率性导致整个场景中的节点颜色改变成我们使用过的颜色。 没有进行其他操作   Sp.graphics.drawTexture(_PreloadUrl._list.texture.brushworkCommon.texture, pointArr[index].x -  this.DrawControl.radiu...

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

2115. 项目设置面板 · LayaAir3.3 · 引擎文档 · LAYABOX [ 48%]

...压力大时,可以选择不开启。3D抗锯齿推荐使用摄像机的Fxaa或Msaa。 视网膜画布模式 是否使用高清画布模式;开启后无论任何适配模式,画布均采用物理分辨率大小,开启后会比不采用物理分辨率多一些性能消耗,但会让文本等...

来源: Laya3.0_文档 发布时间: 20251014

2116. [LayaAir2]Laya2.13.8 用win导出ohos项目 在mac上打包到鸿蒙虚拟机着色器异常 [ 48%]

...异常 目前是在win设备导出了ohosNative项目,然后因为没有x86架构,所以用mac arm架构设备打开ohos项目,打包到鸿蒙虚拟设备后,出现着色器的异常,如附件所示。 定位到异常是   执行 Shader._createShader(gl, this._ps, gl.FRAGMENT_SHADER); ...

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

2117. laya.events.MouseManager_API3.0 [ 48%]

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

2118. 分享:避免鼠标快速移动,mouseout和mouseover触发顺序不一致的问题! [ 48%]

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

2119. 相机texture内模型移动的问题 [ 48%]

相机texture内模型移动的问题 我是参照官方这个demo(https://layaair2.ldc2.layabox.com/demo2/?language=zh&category=3d&group=Advance&name=Scene2DPlayer3D)做的2D场景加载3D模型,但是我的地图上需要加上百个人物和怪物,demo中的方式每个3D模...

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

2120. this.bitmap.activeResource is not a function [ 48%]

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