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

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

31. 照相机-3D空间转2D空间 [ 95%]

...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.35, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey...

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

32. laya.d3.core.Vector3Keyframe_API3.0 [ 95%]

...Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/Vector3Keyframe" Vector3Keyframe Class Vector3Keyframe Vector3Keyframe 类用于创建三维向量关键帧实例。 Hierarchy Keyframe Vector3Keyframe Implements IClone Index Constructors constructor Properties inTangent inW...

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

33. rigidBody.applyForce 物体不会移动 [ 95%]

...rite3D; private monster_character: Laya.Sprite3D; private translateW: Laya.Vector3 = new Laya.Vector3(0, 0, 0.2); private translateS: Laya.Vector3 = new Laya.Vector3(0, 0, -0.2); private translateA: Laya.Vector3 = new Laya.Vector3(0.2, 0, 0); private translateD: Laya.Vector3 = new Laya.Vector3(-0.2,...

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

34. 高级应用-渲染纹理 [ 94%]

...dChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3(-10, 0, 0), true, false); camera.addComponent(CameraMoveScript); var renderTargetCamera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); renderTargetCamera.transfo...

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

35. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 94%]

...scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 ![](img/1.png)(图片1) #### 2. 材质加载 在单个材质进行加载的时候,我们...

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

36. 高级应用-寻路导航 [ 94%]

...项目开发更高效。Laya3D.init(0, 0, true); this._position = new Laya.Vector3(0, 0, 0); this._upVector3 = new Laya.Vector3(0, 1, 0); this._tarPosition = new Laya.Vector3(0, 0, 0); this._finalPosition = new Laya.Vector3(0, 0, 0); this._quaternion = new Laya.Quaternion(); this.index = 0; this.cur...

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

37. Sprite3D-Sprite3D克隆 [ 94%]

...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete...

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

38. 资源加载(TypeScript-3D基础(TS)-LayaAir3D之资源加载) [ 94%]

...scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 ![](img/1.png)(图片1) #### 2. 材质加载 在单个材质进行加载的时候,我们...

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

39. 高级应用-Laya3D与网页混合 [ 94%]

...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //3.清除照相机颜色 camera.clearColor = null; var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direct...

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

40. 自定义shader-边缘光照shader [ 94%]

...dChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 0.85, 1.7)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya...

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