大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0138 秒)
Laya_社区(720) Laya3.0_api(672) Laya2.0_api(367) laya_api(298) Laya_示例(150) Laya2.0_示例(114) Laya2.0_文档(107) Laya3.0_文档(54)
...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
...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
...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
... tick += 1; } } } import laya.display.Sprite; class Laser extends Sprite { public var life:int; }
来源: Laya2.0_示例 发布时间: 20260106
...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
...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
...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
...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
... 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
...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