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

大约有 171 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0031 秒)

111. Laya发布的微信包 转360包 的时候,测试报错Uncaught getUint16 error - Out of bounds [ 53%]

...f bounds 找不到材质警告    game.js:13450 [warn]Retry to load: res/model31/effect/Assets/Epic Toon FX/Materials/Misc/ring (additive).lmat 附件 : --> 2020-05-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回...

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

112. 摄像机lookAt如何围绕一个模型做Tween动画? [ 53%]

...timer.frameLoop(30, this, function () { y = y + 1; camera.transform.lookAt(model.transform.position, new Laya.Vector3(0, 1, 0), false); camera.transform.rotate(new Laya.Vector3(0, y, 3), false, false); }); 我想让摄像机围绕一个模型旋转做动画,用Tween没有起到作用. 用函数loo...

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

113. 为什么全局属性赋值后,在另外个函数中调用会自动变成undefined [ 53%]

...creenMode = Stage.SCREEN_NONE;              Scene3D.load("res/model/LayaScene_Car/Conventional/car.ls", Handler.create(null, function(scene:Scene3D):void {                 Laya.stage.addChild(scene) as Scene3D;                 camera = scene.getChildByNam...

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

114. Animation如何获取图集单帧实际宽高 [ 53%]

...回事? 手机: 网页: 代码: ani.loadAtlas("res/atlas/hero_"+_model+".atlas",Handler.create(this,onLoad)); function onLoad():void { this.addChild(ani); var bounds:Rectangle = ani.getBounds(); Control.showLog(bounds.toString()); } 附件 : --> 2018-03-07 添加评论 免费帖 --> 分享 ...

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

115. Sprite3D-Sprite3D变换 [ 53%]

...or3(-15, 0, 0), true, false); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete() { layaMonkey1 = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey2 = Laya....

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

116. 可能有个昵称叫做“syy”的一只掉进粪坑里的猪会在下面乱叫 [ 52%]

...做“syy”的一只掉进粪坑里的猪会在下面乱叫 附件 : --> Models.zip 2019-05-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 可以把模型发来看看 2019-05-08 0 1 ...

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

117. 材质-BlinnPhong-反射贴图 [ 52%]

....addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/staticModel/teapot/teapot-Teapot001.lm"))); teapot1.transform.position = new Laya.Vector3(-0.8, 0, 0); teapot1.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); var teapot2 = scene.addChild(new Laya.MeshSprite3...

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

118. Spine骨骼动画点击区域偏移 获取不到width height [ 52%]

... = new Laya.Templet();         this._factory.loadAni(`../bin/res/spine_model/${spine}.sk`);         this._factory.on(Laya.Event.COMPLETE, this, this.parseComplete, [x, y]);     }     private parseComplete(x, y) {         this._factory.off(Laya.Event.COMPLETE, this, this.parseComplete...

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

119. Laya3D可以自定义材质吗? [ 52%]

...模型其实就是网格过滤器下的网格数据属性(laya.d3.resource.models.BaseMesh),这个负责模型的顶点数据等等; 2.laya.d3.core.meshRender(网格渲染器) : 这个负责渲染,打开这个类的基类laya.d3.core.render.BaseRender,里面会有对材质的操做。你需...

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

120. laya.d3.webxr.core.WebXRInputManager_API3.0 [ 52%]

...来管理输入设备 The path of the CDN the sample will fetch controller models from: MeshSource https://cdn.jsdelivr.net/npm/@webxr-input-profiles/assets@1.0.9/dist/profiles/ Hierarchy WebXRInputManager Index Constructors constructor Properties tempVec tempVec1 Methods bindMeshNode bindRayNode ...

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