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

大约有 1,301 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0051 秒)

731. 多光源渲染(ActionScript-3D基础(AS3)-LayaAir3D之灯光) [ 59%]

...ne3D.load("res/threeDimen/scene/MultiLightScene/InventoryScene_Forest.ls", Handler.create(this, function (scene: Scene3D): void { //添加到场景 Laya.stage.addChild(scene); var camera: Camera = scene.getChildByName("Main Camera") as Camera; camera.addComponent(CameraMoveScript); camera.transform....

来源: Laya2.0_文档 发布时间: 20210714

732. 微信小游戏开放域(JavaScript-小游戏适配文档-微信小游戏) [ 59%]

...图集 Laya.loader.load(["json/reward.json","res/atlas/test.atlas"],Laya.Handler.create(null,function(){ //加载完成 //使用接口将图集透传到子域 Laya.MiniAdpter.sendAtlasToOpenDataContext("res/atlas/test.atlas"); //使用接口将json投促函到子域 Laya.MiniAdpter.sendJsonDataToDat...

来源: Laya2.0_文档 发布时间: 20210715

733. 微信小游戏加载ProtoBuf文件和图片加载问题 [ 59%]

..., type: Loader.IMAGE}, //这张图有问题。 ]; Laya.loader.load(loadArr,Handler.create(this, onLoad2)); 目前不知道如何解决。 有些图片没有问题,有些图片不可以,也有可能是这个图的问题,我再排查一下,重点是上个问题,protobuf文件的加载问题...

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

734. 材质动画的使用(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 59%]

...ene3D.load("res/threeDimen/scene/materialScene/Conventional/layaScene.ls", Handler.create(this, function(scene:Scene3D):void { Laya.stage.addChild(scene); var camera:Camera = scene.getChildByName("Main Camera") as Camera; camera.addComponent(CameraMoveScript); })); ```

来源: Laya2.0_文档 发布时间: 20210714

735. 物理刚体(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 59%]

...`typescript //加载模型 Laya.Sprite3D.load("Conventional/shoot.lh",Laya.Handler.create(this,function(sp:Laya.Sprite3D){ //获取到Meshsprite3d var cube = scene.addChild(sp.getChildAt(0)) as Laya.MeshSprite3D; //获取刚体 var cubeRigid:Laya.Rigidbody3D = cube.getComponent(Laya.Rigidbody3D)...

来源: Laya2.0_文档 发布时间: 20210714

736. java调用js中的方法 [ 59%]

...型以后,调用destroy,以前clone的对象也消失了 源代码中Handler中的setTo()方法 TS 如何调用第三方JS库 问题状态 最新活动: 2017-11-29 17:03 浏览: 1481 关注: 2 人 浪货界扛把子 • 2017-11-29 17:52 链接无法打开

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

737. 使用getChildByName()无法得到子节点对象 [ 59%]

...用getChildByName()无法得到子节点对象    page2._list.renderHandler = new Handler(this, onRender);         function onRender(cell,index){             //如果索引不再可索引范围,则终止该函数             if(index > json.length)return; ...

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

738. List 添加事件 [ 59%]

...ay = arr; this.list.selectEnable =true;//列表是否点击 this.list.mouseHandler =new laya.utils.Handler(onSelect); 他不会进去我下面的那个函数啊! 2017-05-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...

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

739. 请问,如何获得StandardMaterial,为什么transformUV始终是null [ 59%]

...x = 0;     Laya.loader.load(["../../res/threeDimen/ui/button.png"], Laya.Handler.create(null, function () {         var changeActionButton = Laya.stage.addChild(new Laya.Button("../../res/threeDimen/ui/button.png", "正常模式"));         changeActionButton.size(160, 40);         cha...

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

740. 物理刚体(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 59%]

...数。 ```typescript //加载模型 Sprite3D.load("Conventional/shoot.lh",Handler.create(this,function(sp:Sprite3D):void{ //获取到Meshsprite3d var cube:MeshSprite3D = scene.addChild(sp.getChildAt(0)) as MeshSprite3D; //获取刚体 var cubeRigid:Rigidbody3D = cube.getComponent(Rigidbody3D); }...

来源: Laya2.0_文档 发布时间: 20210714