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

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

581. [LayaAir3]3D场景里面鼠标感应区域 3.2.1跟3.3不同 [ 77%]

...修改示例如下:   Laya.loader.load("RenderTexture.rendertexture", null, Laya.Handler.create(this, null, null, false)).then(() => { this.spRole.texture = Laya.loader.getRes("RenderTexture.rendertexture"); //设置纹理的宽高为舞台大小,这样才不会拉伸变形 this.spRole.textu...

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

582. mac 开放域 发布失败 [ 77%]

...lying error: Error processing argument at index 0, conversion failure from null Error: Could not call remote function ''. Check that the function signature is correct. Underlying error: Error processing argument at index 0, conversion failure from null     at callFunction (/Applications/LayaAirIDE...

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

583. 在LayaIDE中下载的运行器启动报错 [ 76%]

...” 错误日志如下: 03-19 15:01:04.756 15556-15556/? E/2jni: scheme:null 03-19 15:01:04.756 15556-15556/? E/LayaConch5: >>>>>>>conchjar android-2.0.8 03-19 15:01:04.761 15556-15556/? E/LayaConch5: plugin-----------------onCreate()  03-19 15:01:04.986 15556-15556/? E/LayaB...

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

584. 灯光-点光 [ 76%]

...ar animator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 75, 110); }); var _position = new Laya.Vector3(); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); Laya.Vector3....

来源: Laya_示例 发布时间: 20251219

585. laya.utils.Pool [ 76%]

...型的一个对象,如果对象池中无此类型的对象,则返回 null 。 Pool  getItemByClass(sign:String, cls:Class):*[static] 根据传入的对象类型标识字符,获取对象池中此类型标识的一个对象实例。 当对象池中无此类型标识的对象时,则根据传...

来源: laya_api 发布时间: 20170929

586. 初次加载场景正确,返回后只加载第一个场景 [ 76%]

...a.Scene.open("test/PuzzleScene"+this.owner.name.slice(12,13)+".scene",true,null,null,null); 附件 : --> PUZZLEORG1-2.zip PUZZLEORG1-1.zip 2020-11-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 157*****593 赞...

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

587. Laya.LocalStorage.getJSON空对象在微信小游戏中被处理为空字符串 [ 76%]

...JSON('equipDataArray'); 如果getJSON为空,在LayaAir IDE中获取的是null,而在微信小游戏中获取的是'';  getLocalStorage() { //清除本地存储 调试时取消下面一行的注释 Laya.LocalStorage.clear(); //获取当前武器配置 var equipDataArray = Laya.LocalStorage.getJS...

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

588. 场景设置UIView的var属性不起作用 [ 76%]

...Data数据 修改#9999行 root=Laya.SceneUtils.createComp(uiView,root,view,null,tInitTool,!!view); 修改#10038行 Laya.SceneUtils.createComp=function(uiView,comp,view,dataMap,initTool,alterRoot=false){ 修改#10077行 tChild=Laya.SceneUtils.createComp(node,null,alterRoot?comp:view,dataMap,initTool)...

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

589. [LayaAir3]关于drawToRenderTexture2D绘制后图像模糊问题补充 [ 76%]

...ided, the texture will be cleared to this color before drawing. Default is null. * @returns The drawn RenderTexture2D object. * @ZH 绘制当前对象到一个 Texture 对象上。 * @param canvasWidth 画布宽度。 * @param canvasHeight 画布高度。 * @param offsetX 绘制的 X 轴偏移量。...

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

590. laya.d3.graphics.VertexBuffer3D_API3.0 [ 76%]

...eturns void vertexDeclaration get vertexDeclaration(): VertexDeclaration | null set vertexDeclaration(value: VertexDeclaration | null): void Overrides VertexBuffer.vertexDeclaration Defined in laya/d3/graphics/VertexBuffer3D.ts:22 获取顶点声明。 Returns VertexDeclaration | null Overrides Vert...

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