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

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

1211. 3d粒子只要勾了looping,每次播放完开始下一次循环的时候都会闪烁一下 [ 47%]

... 0); Laya.Sprite3D.load("res/LayaScene_gamescene/Conventional/chest01.lh", Laya.Handler.create(this, function(sp:Laya.Sprite3D):void { console.log("111111111111111111111") var target: Laya.Sprite3D = scene3d.addChild(sp) as Laya.Sprite3D; camera.convertScreenCoordToOrthographicCo...

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

1212. vivo小游戏 · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...ge("sub1", this.printProgress).then(() => { Laya.loader.load("sub1/Cube.lh").then((res: Laya.PrefabImpl) => { let sp3: Laya.Sprite3D = res.create() as Laya.Sprite3D; this.scene3d.addChild(sp3); }); }) Laya.loader.loadPackage("sub2", this.printProgress).then(() => { Laya.loader.load("sub2/Sp...

来源: Laya3.0_文档 发布时间: 20250103

1213. 多摄像机窗口的使用(ActionScript-3D基础(AS3)-LayaAir3D之Camera) [ 46%]

...加载模型 Sprite3D.load("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Handler.create(null, function(sp:Sprite3D):void { //将模型加到场景上 var layaMonkey:Sprite3D = scene.addChild(sp) as Sprite3D; })) ``` 编译运行上述代码,运行效果如图6。开发者们同时也可以...

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

1214. 给图片节点添加新创建的图片,会报这个错:node._setParent is not a function [ 46%]

... 模型变的黑呼呼的 很多黑面 创建动效模板 可能存在bug lh文件内meshSprite添加阴影属性无效 问题状态 最新活动: 2019-06-25 21:23 浏览: 1494 关注: 1 人

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

1215. 微信小游戏常见问题汇总(10.25更新)(TypeScript-小游戏适配文档-微信小游戏) [ 46%]

...txt、zip、tt、map、ogg、silk、dbbin、dbmv、etc、lmat、lm、ls、lh、lani、lav、lsani、ltc。 #### 2、为什么游戏在一些机型上边缘有锯齿? 在微信7.0.3之前的版本之前,微信会强制把Canvas画布拉伸到屏幕物理尺寸来进行全屏适配,而7.0.3开...

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

1216. 如何为灯光添加阴影(JavaScript-3D基础(JS)-LayaAir3D之灯光) [ 46%]

...= scene.addChild(Laya.Loader.getRes("res/threeDimen/staticModel/grid/plane.lh")); grid.getChildAt(0).meshRenderer.receiveShadow = true; ....... // A sphere cast/receive shadow. var sphereSprite = this.addPBRSphere(Laya.PrimitiveMesh.createSphere(0.1), new Laya.Vector3(0, 0.2, 0.5), scene); sphereSpr...

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

1217. UI弹窗 · LayaAir3.0文档 · LAYABOX [ 46%]

...场景管关联起来,以下代码块为例。 Laya.Scene.open("Prefab2D.lh"); (图3) (动图4) 2、Dialog属性介绍 (图5) 属性 功能 dragarea 拖动区域(格式:x,y,width,height),默认值为"0,0,0,0"。 ismodal 是否是模式窗口,默认为不开启状态。 issh...

来源: Laya3.0_文档 发布时间: 20230303

1218. 如何为灯光添加阴影(TypeScript-3D基础(TS)-LayaAir3D之灯光) [ 46%]

...te3D = scene.addChild(Loader.getRes("res/threeDimen/staticModel/grid/plane.lh")); (grid.getChildAt(0)).meshRenderer.receiveShadow = true; ....... // A sphere cast/receive shadow. var sphereSprite: MeshSprite3D = this.addPBRSphere(PrimitiveMesh.createSphere(0.1), new Vector3(0, 0.2, 0.5), scene); sph...

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

1219. 如何为灯光添加阴影(ActionScript-3D基础(AS3)-LayaAir3D之灯光) [ 46%]

...te3D = scene.addChild(Loader.getRes("res/threeDimen/staticModel/grid/plane.lh")); grid.getChildAt(0).meshRenderer.receiveShadow = true; ....... // A sphere cast/receive shadow. var sphereSprite: MeshSprite3D = this.addPBRSphere(PrimitiveMesh.createSphere(0.1), new Vector3(0, 0.2, 0.5), scene); spher...

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

1220. 2.0.0beta: 模型贴图不显示+点击事件穿透+其他 [ 46%]

... 问题3:按照官方文档所述得两种加载模型的方法,其中.lh方法加载出来的模型不能控制,而.lm的可以,因此附件中采用的后者。 文档原文:用上述的两种方法都可以在游戏画面中显示出模型,材质贴图引擎也会自动加载到模型...

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