大约有 341 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0138 秒)
Laya_社区(187) Laya2.0_文档(42) Laya3.0_api(25) Laya3.0_文档(22) laya_api(18) Laya_示例(17) Laya2.0_api(16) Laya2.0_示例(14)
...ctor3 UnitZ : Vector3[static] Z轴单位向量,禁止修改Vector3 Up : Vector3[static] 上向量,禁止修改Vector3 ZERO : Vector3[static] 零向量,禁止修改Vector3Property Detailelementspropertypublic var elements:Float32Array三维向量元素数组xproperty x:Number 获取X轴...
来源: laya_api 发布时间: 20170929
...png", "res/ui/hscroll$bar.png", "res/ui/hscroll$down.png", "res/ui/hscroll$up.png"]; Laya.init(800, 600, WebGL); //画布垂直居中对齐 Laya.stage.alignV = Stage.ALIGN_MIDDLE; //画布水平居中对齐 Laya.stage.alignH = Stage.ALIGN_CENTER; //等比缩放 Laya.stage.scaleMode = Stage.SCALE_SHO...
来源: Laya2.0_文档 发布时间: 20210714
...png", "res/ui/vscroll$bar.png", "res/ui/vscroll$down.png", "res/ui/vscroll$up.png"]; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); //画布垂直居中对齐 Laya.stage.alignV = Stage.ALIGN_MIDDLE; //画布水平居中对齐 Laya.stage.alignH = Stage.ALIGN_CENTER; //等比缩...
来源: Laya2.0_文档 发布时间: 20210715
...e m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.list_rule.scrollBar.changeHandler = new Laya.Handler(this, this.onChange) this.list_rule.mouseHandler = ...
来源: Laya_社区 发布时间: 20170215
...nitZ : ConchVector3[static] Z轴单位向量,禁止修改ConchVector3 Up : ConchVector3[static] 上向量,禁止修改ConchVector3 ZERO : ConchVector3[static] 零向量,禁止修改ConchVector3Property Detailelementspropertypublic var elements:Float32Array[只读]向量元素集合。xprop...
来源: Laya2.0_api 发布时间: 20190513
...nt.MOUSE_DOWN, this, mouseDown); Laya.stage.on(Event.MOUSE_UP, this, mouseUp); })(); //创建地图 function createMap() { //创建地图对象 tiledMap = new TiledMap(); //创建Rectangle实例,视口区域 vi...
来源: Laya_社区 发布时间: 20180614
...png", "res/ui/hscroll$bar.png", "res/ui/hscroll$down.png", "res/ui/hscroll$up.png"]; /***提示信息文本框**/ private promptText:Text; /****水平滚动条****/ private hScrollBar:HScrollBar; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); //画布垂直居...
来源: Laya2.0_文档 发布时间: 20210715
...png", "res/ui/vscroll$bar.png", "res/ui/vscroll$down.png", "res/ui/vscroll$up.png"]; /***提示信息文本框**/ private promptText:Text; /****垂直滚动条****/ private vScrollBar:VScrollBar; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); //画布垂直居...
来源: Laya2.0_文档 发布时间: 20210715
...nt.MOUSE_DOWN, this, mouseDown); Laya.stage.on(Event.MOUSE_UP, this, mouseUp); })(); //创建地图 function createMap() { //创建地图对象 tiledMap = new TiledMap(); //创建Rectangle实例,视口区域 vi...
来源: Laya_社区 发布时间: 20180612
....Sprite3D; @property({ type: Laya.Text }) txt: Laya.Text; constructor() { super(); } onAwake(): void { this.txt.text = "第{n=1}页"; //显示文本的初始化内容 } onStart(): void { let page: number = 1; Laya.timer.frameLoop(10, this, () => { page += 1; //在定时器中让变量page每次...
来源: Laya3.0_文档 发布时间: 20251010