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

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

311. laya的ide如何import js并调用里面的类和方法?VS Code正常。 [ 68%]

...发现有一点差异,下面这行<script type="text/javascript" src="node_modules/requirejs/require.js"></script>  ,而vscode里可以注释掉,还是正常。   用VS Code测试: 运行后一切正常: 而layaAir IDE,如果注释掉这一行,就一片空白,不会输...

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

312. laya.effect.FadeOut_API3.0 [ 68%]

...ctBase.ts:19 触发事件,如果为空,则创建时触发 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Inherited from EffectBase.repeat Defined in laya/effect/EffectBase.ts:15 重复次数,默认...

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

313. laya.effect.FadeIn_API3.0 [ 68%]

...ctBase.ts:19 触发事件,如果为空,则创建时触发 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Inherited from EffectBase.repeat Defined in laya/effect/EffectBase.ts:15 重复次数,默认...

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

314. layacmd在centOS 6.5上运行出错 [ 68%]

...OS 6.5上运行出错 layacmd publish -o cc -n output argv: [ '/data/tools/node-v8.9.0-linux-x64/bin/node', '/data/tools/node-v8.9.0-linux-x64/lib/node_modules/layacmd/ProjectExportTools/LayaAirCmdTool.max.js', '/data/ebuild/gongdou/gongdouH5/laya/.laya', 'clear=true', 'releasemode=normal', 'exportU...

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

315. laya.d3.component.hlod.HLOD_API3.0 [ 68%]

...例,即同一个节点只能添加此类型的脚本一次 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

316. Laya2.4.0如何引用使用npm安装的三方库? [ 67%]

...何引用使用npm安装的三方库? 请问下,laya2.4.0 无法导入node_modules里面的三方库吗?看了下是因为tsconfig.json 里面的 "compilerOptions": {     "module": "es6",  module是es6 ,改成commonjs可以引入了,但是编译又报错  那么如何正确引...

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

317. laya.d3.utils.Utils3D_API3.0 [ 67%]

...archy Utils3D Index Properties _tempV0 _tempV1 Methods PointinTriangle _getNodeByHierarchyPath _getParentNodeByHierarchyPath billboardTrans createAffineTransformationArray getURLVerion mulMatrixByArray mulMatrixByArrayAndMatrixFast mulMatrixByArrayFast quaternionWeight transformQuat transformVector3...

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

318. laya.resource.PrefabImpl_API3.0 [ 67%]

...s void create create(options?: Record<string, any>, errors?: any[]): Node Overrides Prefab.create Defined in laya/resource/PrefabImpl.ts:43 创建一个 Parameters Optional options: Record<string, any> Optional errors: any[] Returns Node destroy destroy(): void Inherited from Resource.de...

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

319. laya.gltf.glTFResource_API3.0 [ 67%]

...:45 Parameters resArr: Array<Resource> Returns void create create(): Node Overrides Prefab.create Defined in laya/gltf/glTFResource.ts:220 Returns Node destroy destroy(): void Inherited from Resource.destroy Defined in laya/resource/Resource.ts:243 销毁资源,销毁后资源不能恢复。 R...

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

320. laya.physics.joint.GearJoint_API3.0 [ 67%]

...2个关节,类型可以是RevoluteJoint或者PrismaticJoint 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:3...

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