大约有 1,448 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0049 秒)
Laya3.0_api(470) Laya_社区(446) Laya_示例(152) Laya2.0_示例(119) Laya2.0_api(71) Laya2.0_文档(71) Laya3.0_文档(61) laya_api(58)
... = 200, VERTICAL_SPACING = 100, xOffset, yOffset, skins; class UI_Button { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.A...
来源: Laya2.0_示例 发布时间: 20250312
... Hierarchy Sprite3D LightSprite DirectionLight PointLight SpotLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedTy...
来源: Laya3.0_api 发布时间: 20231115
...目开发更高效。let logger, keyDownList; class Interaction_Keyboard { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, We...
来源: Laya2.0_示例 发布时间: 20250312
...; public m_ObjectPoolDic:{[key:number]:QueueT<Laya.MeshSprite3D>}={} constructor() { } static getInstance() { return this._instance || (this._instance = new PoolManager()) } //初始化 //加载到内存中创建出来之后添加到这里面 public InitPool(key:number,MeshSprite:Laya.MeshSp...
来源: Laya_社区 发布时间: 20191206
... width = 750; private height = 1334; constructor() { Laya3D.init(this.width, this.height); Laya.stage.setScreenSize(this.width, this.height); Laya.stage.scaleMode = Lay...
来源: Laya_社区 发布时间: 20200119
...lare owner : Laya.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; //在定时器中让...
来源: Laya3.0_文档 发布时间: 20240910
...L_SPACING = 100, X_OFFSET = 100, Y_OFFSET = 50, skins; class UI_CheckBox { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.A...
来源: Laya2.0_示例 发布时间: 20250312
...语言、LayaAirIDE让项目开发更高效。let skins; class UI_Slider { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.A...
来源: Laya2.0_示例 发布时间: 20250312
...= ["goblin","goblingirl"], mCurrSkinIndex = 0; class Skeleton_ChangeSkin { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebG...
来源: Laya2.0_示例 发布时间: 20250312
...值。strColorproperty public var strColor:String 字符串型颜色值。Constructor DetailColor()Constructorpublic function Color(str:*) 根据指定的属性值,创建一个 Color 类的实例。 Parameters str:* — 颜色值。 Method Detailcreate()method public static function create(str:*)...
来源: laya_api 发布时间: 20170422