大约有 1,787 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0053 秒)
Laya_社区(1391) Laya3.0_api(161) Laya2.0_api(107) laya_api(70) Laya2.0_文档(34) Laya3.0_文档(20) Laya2.0_示例(2) Laya_示例(2)
...ayaAir技术手册里面的代码建了一个服务端的程序,为啥用node运行的时候弹出" Cannot find module 'ws'"? C:\Users\Administrator\Desktop>node jjj.js module.js:472 throw err; ^ Error: Cannot find module 'ws' at Function.Module._resolveFilename (module.js:470:15) at Function.M...
来源: Laya_社区 发布时间: 20170424
...录下,改为jszip.d.ts,导入代码为: import * as JSZip from "../node_modules/jszip/dist/jszip"使用代码为: let zipUrl = "resources/files/config.zip"; Laya.loader.load([{ url: zipUrl, type: Laya.Loader.BUFFER }], null, Laya.Handler.create(this, this.onLoadCfg, null, false)...
来源: Laya_社区 发布时间: 20230208
...r): void Defined in laya/d3/core/scene/SceneRenderManager.ts:35 add Render Node Parameters object: BaseRender Returns void destroy destroy(): void Defined in laya/d3/core/scene/SceneRenderManager.ts:73 destroy Returns void removeMotionObject removeMotionObject(object: BaseRender): void Defined in la...
来源: Laya3.0_api 发布时间: 20231115
...单实例组件。 ColliderBase label : String标签ColliderBase owner : Node [只读]获取所属Node节点。 Component points : String用逗号隔开的点的集合,格式:x,y,x,y ...PolygonCollider restitution : Number弹性系数,取值范围0-1,值越大,弹性越大,默认...
来源: Laya2.0_api 发布时间: 20190513
...ourceMap": true }, "references": [ {"path":"../libs"}, ], "exclude": [ "../node_modules" ] } ``` ### 二、bundle模式TS项目,如何开启F5调试 #### 1、修改 `.laya/compile.js` 找到`sourceMap: false` 修改为 `sourcemap: true` 一共有两个`sourcemap`的地方,都要修改设置为`t...
来源: Laya2.0_文档 发布时间: 20210714
...冲突位掩码碰撞的类别,category位操作的结果 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 ...
来源: Laya3.0_api 发布时间: 20231115
...相交的链接形状,它可能不能正常工作ChainCollider owner : Node [只读]获取所属Node节点。 Component points : String用逗号隔开的点的集合,格式:x,y,x,y ...ChainCollider restitution : Number弹性系数,取值范围0-1,值越大,弹性越大,默认值...
来源: Laya2.0_api 发布时间: 20190513
...对象 * @param owner * @param child */ static addChildHelper(owner: Laya.Node, child: Laya.Sprite3D) { let position = child.transform.position.clone() let rotation = child.transform.rotation.clone() let scale = child.transform.getWorldLossyScale().clone() owner.addChild(child) child.transform.posit...
来源: Laya_社区 发布时间: 20200819
...rride] [read-only] 获取是否为单实例组件。 CommonScript owner : Node [只读]获取所属Node节点。 ComponentPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By CommonScript()CommonScript destroy():void 销毁组件 Component onAwake():vo...
来源: Laya2.0_api 发布时间: 20190513
..., "buildDoc": "cd src/generateDoc&&cmd /k run.bat", "crossBuild": "node src/publishTool/publish.js && cd src && gulp build" }, 复制代码[/code] src/publishTool路径下创建publish.js。编译工具public.bat中做了什么事情,在publish.js脚本中也做同样的事...
来源: Laya_社区 发布时间: 20200925