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

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

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

...this._scene.getChildByName("Main Camera") as Laya.Camera; camera.addComponent(CameraMoveScript); var tiger:Laya.Sprite3D = this._scene.getChildByName("tiger_idle") as Laya.Sprite3D; console.log(tiger); var animator:Laya.Animator = tiger.getComponentByIndex(0) as Laya.Animator; an...

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

262. 加载.lh文件 运行后黑屏 无法显示 [ 37%]

...es("Export/LayaScene_JJF/Conventional/JJF.lh");         layaMonkey.addComponent(MonkeyScript);         camera.transform.lookAt(layaMonkey.transform.position, new Laya.Vector3(0, 1, 0));                 //设置文本显示框位置                 this...

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

263. (实现手指控制模型的缩放旋转)触控可以识别 但是导入的模型没有根据触控反应 [ 37%]

...      //猴子精灵添加组件(脚本)         monkey.addComponent(MonkeyScript);         scene.addChild(monkey);         //设置相机的观察目标为小猴子         camera.transform.lookAt(monkey.transform.position, new Laya.Vector3(0, 1, 0));   ...

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

264. 2D拖尾渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 36%]

...): void { //在节点上添加2D拖尾渲染器 this._trail2D = this.owner.addComponent(Laya.Trail2DRender); //设置淡出时间 this._trail2D.time = 1; //设置最小距离 this._trail2D.minVertexDistance = 0.1; //设置宽度倍数 this._trail2D.widthMultiplier = 50; //设置宽度曲线 this.set...

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

265. laya.html.dom.HTMLIframeElement_API3.0 [ 36%]

... zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByNa...

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

266. laya.d3.core.light.DirectionLight [ 36%]

...引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函...

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

267. laya.html.dom.HTMLDivElement_API3.0 [ 36%]

... zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByNa...

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

268. laya.d3.core.light.PointLight [ 36%]

...引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函...

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

269. laya.d3.core.light.SpotLight [ 35%]

...引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函...

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

270. laya.physics.PhysicsDebugDraw_API3.0 [ 35%]

... zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChi...

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