大约有 3,699 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0089 秒)
Laya_社区(3210) Laya2.0_文档(154) Laya3.0_api(102) Laya3.0_文档(82) Laya2.0_api(82) Laya_示例(44) laya_api(25)
...ad property 'cursor' of undefined错误 运行报错 Uncaught Can not find scene:GameView.scene undefined Uncaught TypeError: Cannot read property 'props' of undefined 加载龙骨动画出报错Uncaught getUint16 error - Out of bounds Uncaught unknown animationClip version. 2.0.0编译报错Cannot ...
来源: Laya_社区 发布时间: 20200207
...叠 要回复问题请先登录 发起人 18520860927 相关问题 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? Laya 安卓端 在服务端运行指令layadcc ./ 后...
来源: Laya_社区 发布时间: 20171030
...料闪光 private addLoadCCDLight() { //聚光灯 this.loadCCDlight = this.scene.addChild(new Laya.SpotLight()) as Laya.SpotLight; this.loadCCDlight.color = new Laya.Vector3(1, 1, 1); this.loadCCDlight.transform.position = new Laya.Vector3(-1, 1.2, 0.0); this.loadCCDlight.direction = new Laya.Vector...
来源: Laya_社区 发布时间: 20180515
...距裁剪) var camera = new Laya.Camera(0, 0.1, 100); // 加载到场景 scene.addChild(camera); // 移动摄像机位置 camera.transform.position = new Laya.Vector3(0, 5, 23); // 旋转摄像机角度 camera.transform.rotate(new Laya.Vector3(-17, 0, 0), false); // 设置摄像机视野范围(角...
来源: Laya_社区 发布时间: 20171227
... 篇讲解。 #### 如何使用Unity设置环境天空 在Lighting的 `Scene` 场景标签页,找到Environment环境中的`SkyBox Material`天空盒材质这一项。 (图1) **注意** :使用的材质必须是LayaAir3D--Sky下的Shader; 将自己预先准备好的天空...
来源: Laya2.0_文档 发布时间: 20210715
...shSprite3D(Laya.Mesh.load("fish/denglongyu/denglongyuANI-denglongyu.lm")); scene.addChild(fish); var fishmaterial = new Laya.StandardMaterial(); //漫反射贴图 fishmaterial.diffuseTexture = Laya.Texture2D.load("fish/denglongyu/denglongyu1.jpg"); fish.meshRender.material = fishmaterial; fish.trans...
来源: Laya_社区 发布时间: 20170918
...ends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //小游戏加载分包 Laya.loader.l...
来源: Laya3.0_文档 发布时间: 20250103
...唯一标 识一个请求 req.message = msg; if(type == 1) //朋友圈 req.scene = SendMessageToWX.Req.WXSceneTimeline; else if(type == 2) //好友 req.scene = SendMessageToWX.Req.WXSceneSession; // 调用api 接口发送数据到微信 api.sendReq(req) ; } 传过去的是bitmap: var htmlCanvas:...
来源: Laya_社区 发布时间: 20180329
...复 BWUWB 赞同来自: "reflectionDecodingFormat":0, "reflection":"Assets/Scenes/FightSceneGIReflection.ltcb.ls", "reflectionIntensity":1,试着把场景文件里面的这三行删掉看看 2021-11-02 0 1 分享 微博 QZONE 微信 如果你也听说 赞同来自: 我的也有报错 但是好像不...
来源: Laya_社区 发布时间: 20211101
...景内添加多个lm的文件。我按照文档中 Laya.loader.create("LayaScene_layabox/Library/unity default resources-Quad.lm",Laya.Handler.create(this,this.onCreateComplete)); Laya.loader.create("LayaScene_layabox/Library/unity default resources-Capsule.lm",Laya.Handler.create(this,this.onCreate...
来源: Laya_社区 发布时间: 20180719