大约有 3,271 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0138 秒)
Laya_社区(2946) Laya3.0_api(163) Laya2.0_文档(63) Laya_示例(34) Laya3.0_文档(31) Laya2.0_示例(22) laya_api(7) Laya2.0_api(5)
...0800 test1[6479:65523] 当前应用软件版本:2.0 2019-06-18 13:34:08.459307+0800 test1[6479:65523] 当前应用Local版本号码:1 2019-06-18 13:34:08.498040+0800 test1[6479:65523] iOS OpenGL ES 3.0 context created 2019-06-18 13:34:08.498646+0800 test1[6479:65523] AppVersion=2.0 2019-06-18 13:3...
来源: Laya_社区 发布时间: 20190618
...caling: number, out: Quaternion): void Defined in laya/maths/Quaternion.ts:306 根据缩放值缩放四元数 Parameters scaling: number out: Quaternion 输出四元数 Returns void set set(x: number, y: number, z: number, w: number): this Defined in laya/maths/Quaternion.ts:297 设置四元数的...
来源: Laya3.0_api 发布时间: 20231115
...an Inherited from Resource.destroyed Defined in laya/resource/Resource.ts:130 是否已销毁。 Returns boolean gpuMemory get gpuMemory(): number Inherited from Resource.gpuMemory Defined in laya/resource/Resource.ts:123 显存大小。 Returns number id get id(): number Inherited from Resource.id ...
来源: Laya3.0_api 发布时间: 20231102
...nherited from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: ...
来源: Laya3.0_api 发布时间: 20231115
...引擎的帧速限制方法Stage.FRAME_SLOW,将FPS帧速限制为最高30帧。 由于实际运行环境是在浏览器中,所以性能还取决于JavaScript解释器的效率,因此,同一款游戏的FPS值在不同的浏览器中可能会存在差异。这部分不是开发者能够决定...
来源: Laya3.0_文档 发布时间: 20251010
...nherited from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 color color: Color Inherited from Light.color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner...
来源: Laya3.0_api 发布时间: 20231115
...an Inherited from Resource.destroyed Defined in laya/resource/Resource.ts:130 是否已销毁。 Returns boolean gpuMemory get gpuMemory(): number Inherited from Resource.gpuMemory Defined in laya/resource/Resource.ts:123 显存大小。 Returns number id get id(): number Inherited from Resource.id ...
来源: Laya3.0_api 发布时间: 20231102
...r = Item; //对树形结构赋值 tree.xml = xml; //修改大小 tree.size(300, 300); //修改树的位置 tree.x = (Laya.stage.width - tree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; //加载到舞台 Laya.stage.addChild(tree); } } } import laya.ui.Box; import laya.ui.Clip; import ...
来源: Laya2.0_文档 发布时间: 20210715
... txt.text = "点击此处开始游戏"; txt.font = "Arial"; txt.fontSize = 30; txt.bold = true; txt.pos(g_stat_width - txt.width - 40, g_stat_heiht - txt.height - 20); Laya.stage.addChild(txt); txt.on(Laya.Event.CLICK, this, function(e) { switch (e.type) { case Laya.Event.CLICK: gameStart(); break; ...
来源: Laya_社区 发布时间: 20160623
...nherited from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Sprite | Sprite3D Overrides Component.owner Defined in laya/components/Script.ts:14 Optional runInEditor runInEditor: boolean Inherited fro...
来源: Laya3.0_api 发布时间: 20231115