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

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

191. 720 全景图 手指滑动 滑动距离 [ 54%]

...0), true, false); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; camera.addComponent(CameraMoveScript); var skyBox = new Laya.SkyBox(); camera.sky = skyBox; skyBox.textureCube = Laya.TextureCube.load("../../res/threeDimen/skyBox/skyCube.ltc"); 以上是官方给出的例子,那么有两个问...

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

192. 新手的伤,ReferenceError: CameraMoveScript is not defined [ 54%]

...new Laya.Vector4(0, 0, 0.6, 1); //加入摄像机移动控制脚本 camera.addComponent(CameraMoveScript); //创建方向光 ------------------- var light = scene.addChild(new Laya.DirectionLight()); //移动灯光位置 light.transform.translate(new Laya.Vector3(0, 2, 5));                 ...

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

193. 加载不了模型 [ 54%]

...      camera.clearColor = Laya.Vector3(255,255,0.1);         camera.addComponent(CameraMoveScript);         //添加方向光         var directionLight = scene.addChild(new Laya.DirectionLight());         directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6);         directi...

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

194. [LayaAir3]3.3.0.beta.3 2d物理RigidBody代码生成问题 [ 54%]

...bject: Laya.Sprite): Laya.RigidBody {         const rigidBody = object.addComponent(Laya.RigidBody);         rigidBody.type = "kinematic";         rigidBody.label = object.name; // 添加标签         const shape = new Laya.BoxShape2D();         shape.x = object.width / 2;    ...

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

195. 3D加载不了 [ 53%]

...      camera.clearColor = Laya.Vector3(255,255,0.1);         camera.addComponent(CameraMoveScript);         //添加方向光         var directionLight = scene.addChild(new Laya.DirectionLight());         directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6);         directi...

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

196. ReferenceError: Laya3D is not defined? [ 53%]

...Laya.Camera = scene.getChildByName("Main Camera") as Laya.Camera; //camera.addComponent(CameraMoveScript); })); 2019-03-08 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要...

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

197. 如何动态添加Animator和加载AnimationClip并播放 [ 53%]

...ene.getChildAt(0) as Sprite3D;       var animator:Animator = meshSprite.addComponent(Animator) as Animator;       var clip:AnimationClip=AnimationClip.load("res/LayaScene/Assets/unit/Unit_1111-A101.lsani");       animator.addClip(clip,"attack");       animator.play("attack"); }); 2018-02...

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

198. 材质动画的使用(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 53%]

....addChild(scene); var camera = scene.getChildByName("Main Camera"); camera.addComponent(CameraMoveScript); })); ```

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

199. laya.d3.core.light.PointLight_API3.0 [ 53%]

...orm url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener is...

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

200. 材质动画的使用(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 53%]

...); var camera = scene.getChildByName("Main Camera") as Laya.Camera; camera.addComponent(CameraMoveScript); })); ```

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