大约有 1,204 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0049 秒)
Laya_社区(690) Laya_示例(137) Laya2.0_文档(123) Laya2.0_示例(116) Laya3.0_文档(59) Laya3.0_api(39) laya_api(29) Laya2.0_api(11)
...ya.loader.load(this.skins, Handler.create(this, this.onUIAssetsLoaded)); } private onUIAssetsLoaded(): void { for (var i: number = 0, len = this.skins.length; i < len; ++i) { var btn: Button = this.createButton(this.skins[i]); var x: number = i % this.COLUMNS * this.HORIZONTAL_SPACING + this.xOffset...
来源: Laya2.0_示例 发布时间: 20241123
...uthor zzz */ public class WWJ_Main { private const stageWidth:int = 540; private const stageHeight:int = 960; private var Matter:Object = Browser.window.Matter; private var LayaRender:Object = Browser.wind...
来源: Laya_社区 发布时间: 20170822
...ya.loader.load(this.skins, Handler.create(this, this.onUIAssetsLoaded)); } private onUIAssetsLoaded(): void { for (var i: number = 0, len = this.skins.length; i < len; ++i) { var btn: Button = this.createButton(this.skins[i]); var x: number = i % this.COLUMNS * this.HORIZONTAL_SPACING + this.xOffset...
来源: Laya_示例 发布时间: 20241123
... Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Clip { private buttonSkin: string = "res/ui/button-7.png"; private clipSkin: string = "res/ui/num0-9.png"; private bgSkin: string = "res/ui/coutDown.png"; private counter: Clip; private currFrame: number; private controller: Button;...
来源: Laya2.0_文档 发布时间: 20210714
...* 20) * 2; glitter.addGlitterByPositions(pos1, pos2); }class GlitterDemo { private glitter: Laya.Glitter; private pos1: Laya.Vector3; private pos2: Laya.Vector3; private scaleDelta: number = 0; private scaleValue: number = 0; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage...
来源: Laya_示例 发布时间: 20241123
...Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_Rotate { private sp: Sprite; private preRadian: number = 0; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alig...
来源: Laya2.0_示例 发布时间: 20241123
...ler = Laya.Handler; import WebGL = Laya.WebGL; export class Filters_Glow { private apePath: string = "../../res/apes/monkey2.png"; private ape: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALI...
来源: Laya_示例 发布时间: 20241123
...ler = Laya.Handler; import WebGL = Laya.WebGL; export class Filters_Glow { private apePath: string = "res/apes/monkey2.png"; private ape: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MID...
来源: Laya2.0_示例 发布时间: 20241123
...ya.display.Sprite; public class Main { //需要切换的图片资源路径 private var monkey1:String = "res/img/monkey1.png"; private var monkey2:String = "res/img/monkey2.png"; //切换状态 private var flag:Boolean = false; private var img:Sprite; public function Main() { //初始化舞台 Laya....
来源: Laya2.0_文档 发布时间: 20210715
...r; import laya.utils.Handler; import laya.webgl.WebGL; public class Main { private const ApePath:String = "res/img/monkey1.png"; private var apeTexture:Texture; public function Main() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage....
来源: Laya2.0_文档 发布时间: 20210715