大约有 420 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0059 秒)
Laya_社区(156) Laya3.0_api(79) Laya2.0_api(73) Laya2.0_文档(53) Laya_示例(28) laya_api(14) Laya3.0_文档(12) Laya2.0_示例(5)
...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
...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
... //猴子精灵添加组件(脚本) monkey.addComponent(MonkeyScript); scene.addChild(monkey); //设置相机的观察目标为小猴子 camera.transform.lookAt(monkey.transform.position, new Laya.Vector3(0, 1, 0)); ...
来源: Laya_社区 发布时间: 20190605
...): 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
... 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
...引位置。 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
... 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
...引位置。 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
...引位置。 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
... 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