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

大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0138 秒)

2291. CPU优化方式(ActionScript-2D进阶篇(AS3)-性能优化) [ 39%]

...on(value):void {     this.position = value;     update(); }    public function update() {     console.log('rotation: ' + this.rotation + '\tscale: ' + this.scale + '\tposition: ' + position); } ``` ​ 调用以下代码更改状态: ```javascript setRotation(90); set...

来源: Laya2.0_文档 发布时间: 20210715

2292. laya.maths.Matrix4x4_API3.0 [ 39%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Matrix4x4" Matrix4x4 Class Matrix4x4 Matrix4x4 类用于创建4x4矩阵。 Hierarchy Matrix4x4 Implements IClone Index Constructors constr...

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

2293. 下拉选项框组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 39%]

...t class NewScript extends Laya.Script { @property({ type: Laya.ComboBox }) public combobox: Laya.ComboBox; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.combobox.pos(100, 100); this.combobox.labels = "item0,item1,item2,it...

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

2294. 其他引擎的Demo-Example_23 [ 39%]

... tick += 1; } } } import laya.display.Sprite; class Laser extends Sprite { public var life:int; }

来源: Laya2.0_示例 发布时间: 20260106

2295. laya.d3.math.Vector3_API3.0 [ 39%]

...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Vector3" Vector3 Class Vector3 Vector3 类用于创建三维向量。 Hierarchy Vector3 Implements IClone Index Constructors constructor...

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

2296. 复选框组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 39%]

...t class NewScript extends Laya.Script { @property({ type: Laya.CheckBox }) public checkbox: Laya.CheckBox; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.checkbox.pos(300, 300); // this.checkbox.selected = true; this.check...

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

2297. Laya.MiniAdpter.downLoadFile缓存的文件无法读取的问题 [ 39%]

...Laya.MiniAdpter.downLoadFile来缓存二进制文件,逻辑如下:   public Request(url:string):void { console.log("url: " + url); if (Laya.Browser.onMiniGame) { var args = {url:url, handler:null}; var handler = Laya.Handler.create(this, this.OnDownloadFileInWxOk, [args], false); args.handler =...

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

2298. laya.resource.Texture_API3.0 [ 38%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/Texture" Texture Class Texture Texture 是一个纹理处理类。 Hierarchy Resource Texture Index Constructors constructor Properties...

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

2299. TS setExternalLinkEx問題 [ 38%]

... Event = Laya.Event; import Browser = Laya.Browser; export class GameMain{ public ctx = document.createElement('canvas').getContext('2d'); constructor() { Laya.init(900,630, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHO...

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

2300. laya.d3.core.SkinnedMeshRenderer_API3.0 [ 38%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/SkinnedMeshRenderer" SkinnedMeshRenderer Class SkinnedMeshRenderer SkinMeshRenderer 类用于蒙皮渲染器。 Hierarchy MeshRenderer S...

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