大约有 473 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0039 秒)
Laya_社区(264) Laya2.0_文档(90) Laya3.0_api(72) Laya2.0_示例(12) laya_api(11) Laya_示例(9) Laya2.0_api(9) Laya3.0_文档(6)
...der", "full", "fixedwidth", "fixedheight"]; //当前适配模式索引 var index = 0; //全局文本信息 var txt; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(1136, 640); //设置适配模式 Laya.stage.scaleMode = "noscale"; //设置横竖屏 Laya.stage.screenMode = Stage.SCR...
来源: Laya_示例 发布时间: 20240930
..., "exactfit", "showall", "noborder", "full", "fixedwidth", "fixedheight"], index = 0, txt; class SmartScale_T { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Image = Laya.Image, Text = Laya.Text; // 不支持WebGL时...
来源: Laya2.0_示例 发布时间: 20240930
...ple { private var img:Sprite ; private var index:int ; public function LayaSample() { //初始化引擎 Laya.init(600, 300); img = new Sprite(); ...
来源: Laya_社区 发布时间: 20170918
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/PostEffect/ScalableAO" ScalableAO Class ScalableAO BloomEffect 类用于创建环境光遮罩效果。 Hierarchy Pos...
来源: Laya3.0_api 发布时间: 20231115
... 1,Tab Control 2,Tab Control 3"; tab.labelPadding = "0,0,0,0"; tab.selectedIndex = 1; onSelect(tab.selectedIndex); tab.selectHandler = new Handler(this, onSelect); Laya.stage.addChild(tab); return tab; } function onSelect(index) { console.log("当前选择的标签页索引为 " + index); } })();mod...
来源: Laya_示例 发布时间: 20240930
... 1,Tab Control 2,Tab Control 3"; tab.labelPadding = "0,0,0,0"; tab.selectedIndex = 1; this.onSelect(tab.selectedIndex); tab.selectHandler = new Handler(this, this.onSelect); Laya.stage.addChild(tab); return tab; } onSelect(index) { console.log("当前选择的标签页索引为 " + index); } } new U...
来源: Laya2.0_示例 发布时间: 20240930
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/resource/models/PrimitiveMesh" PrimitiveMesh Class PrimitiveMesh PrimitiveMesh 类用于创建简单网格。 Hierarchy Primitiv...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames TerrainLeafProperties | Methods Packagelaya.d3.terrainClasspublic class TerrainLeafInheritanceTerrainLeaf Object TerrainLeaf Terrain的叶子节点 Public Properties PropertyDefined By __ADAPT_MATRIX__ : Matrix4x4[st...
来源: Laya2.0_api 发布时间: 20190513
...i) { var rg: RadioGroup = this.createRadioGroup(this.skins[i]); rg.selectedIndex = i; rg.x = i * this.SPACING + this.X_OFFSET; rg.y = this.Y_OFFSET; } } private createRadioGroup(skin: string): RadioGroup { var rg: RadioGroup = new RadioGroup(); rg.skin = skin; rg.space = 70; rg.direction = "v"; rg.l...
来源: Laya_示例 发布时间: 20240930
...i) { var rg: RadioGroup = this.createRadioGroup(this.skins[i]); rg.selectedIndex = i; rg.x = i * this.SPACING + this.X_OFFSET; rg.y = this.Y_OFFSET; } } private createRadioGroup(skin: string): RadioGroup { var rg: RadioGroup = new RadioGroup(); rg.skin = skin; rg.space = 70; rg.direction = "v"; rg.l...
来源: Laya2.0_示例 发布时间: 20240930