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

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

71. 给3D场景scene添加鼠标事件无效 [ 96%]

给3D场景scene添加鼠标事件无效 1、3D示例工程中,有 CameraMoveScript 文件。 2、读了 CameraMoveScript 文件之后,看到里面对于鼠标的拖拉是通过给 Laya.stage 添加鼠标侦听事件实现的。 3、于是在 CameraMoveScript 初始化函数里,将事件...

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

72. laya.d3.core.scene.Lightmap_API3.0 [ 96%]

...Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/scene/Lightmap" Lightmap Class Lightmap 光照贴图。 Hierarchy Lightmap Index Properties lightmapColor lightmapDirection ApplyLightmapEvent Properties lightmapColor lightmapColor: Texture2D Defined in laya/d3/core/scene/Li...

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

73. 照相机-正交相机 [ 95%]

...a.stage.addChild(new Laya.Image("../../res/cartoon2/background.jpg")); var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.rotate(new Laya.Vector3(-45, 0, 0), false, false); camera.transform.translate(new Laya.Vector3(5, -10...

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

74. 动画-新版骨骼动画 [ 95%]

...Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 1.5, 4)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, fa...

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

75. laya.d3.core.scene.Scene3D [ 95%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames Scene3DProperties | Methods | Events | Constants Packagelaya.d3.core.sceneClasspublic class Scene3DInheritanceScene3D Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource Scene3D 类用于...

来源: Laya2.0_api 发布时间: 20190513

76. 微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene [ 95%]

微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene 引擎使用的是1.7.17beta版本,下面是报错堆栈,附件是工程项目以及导出的小游戏项目。 Scene: the .lh file root type must be Scene,please use other function to  load  this fil...

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

77. 材质-BlinnPhong-反射贴图 [ 95%]

...ULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene()); var camera = (scene.addChild(new Laya.Camera(0, 0.1, 100))); camera.transform.translate(new Laya.Vector3(0, 1.3, 1.8)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true,...

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

78. laya.d3.core.scene.bvh.BVHSpatialManager_API3.0 [ 95%]

...Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/scene/bvh/SpatialManager" BVHSpatialManager Class BVHSpatialManager 接受空间分割管理的逻辑对象 容器 Hierarchy BVHSpatialManager Index Constructors constructor Methods clear destroy Constructors constructor new ...

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

79. u3d插件用scene导出.ls,载入报错 [ 95%]

u3d插件用scene导出.ls,载入报错 是这样的,我后面又试了一下,没有用scene导出.ls,而是用sprite3d导出.lh就可以了,我向问的是,scene导出的功能是不是不能用。 报错信息如下   附件 : --> 2018-04-17 添加评论 免费帖 --> 分享 微博 Q...

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

80. this.scene.physicsSimulation.rayCastAll 报错 [ 95%]

this.scene.physicsSimulation.rayCastAll 报错 this.point.x = Laya.MouseManager.instance.mouseX; this.point.y = Laya.MouseManager.instance.mouseY; //产生射线 this.camera.viewportPointToRay(this.point,this.ray);   /// Laya.PhysicsSimulation.rayCast(this.ray, this.outHitResult, 30, 0) //拿到...

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