大约有 350 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0040 秒)
Laya_社区(97) Laya_示例(78) Laya2.0_示例(68) Laya3.0_api(55) Laya2.0_文档(35) Laya3.0_文档(6) laya_api(6) Laya2.0_api(5)
...s Value2D { public texcoord: any; public progress: number; public uv_info: Array<any>; constructor() { super(0, 0); this.progress = 0.0; this.uv_info = [0.0, 0.0, 1.0, 1.0]; ...
来源: Laya_社区 发布时间: 20170606
...; 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.alignH = Stage.ALIGN_CENTER; Laya.stage.sca...
来源: Laya_示例 发布时间: 20240930
... import WebGL = Laya.WebGL; export class UI_Dialog { private DIALOG_WIDTH: number = 220; private DIALOG_HEIGHT: number = 275; private CLOSE_BTN_WIDTH: number = 43; private CLOSE_BTN_PADDING: number = 5; private assets: Array; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 6...
来源: Laya_示例 发布时间: 20240930
... extends Sprite { private var textInput:TextField; private var sourceWidth:Number; private var sourceHeight:Number; public function TextInput() { //转换成h5项目后获取浏览器的宽度 //[IF-JS]sourceWidth = Laya.window.innerWidth; //转换成h5项目后获取浏览器的高度 //[IF-JS]sour...
来源: Laya_社区 发布时间: 20151225
... import WebGL = Laya.WebGL; export class UI_Dialog { private DIALOG_WIDTH: number = 220; private DIALOG_HEIGHT: number = 275; private CLOSE_BTN_WIDTH: number = 43; private CLOSE_BTN_PADDING: number = 5; private assets: Array; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 6...
来源: Laya2.0_示例 发布时间: 20240930
...ode.tag Defined in laya/display/Node.ts:62 节点标签 wrapMode wrapMode: number = 0 Inherited from AnimationBase.wrapMode Defined in laya/display/AnimationBase.ts:33 播放顺序类型:AnimationBase.WRAP_POSITIVE为正序播放(默认值),AnimationBase.WRAP_REVERSE为倒序播放,AnimationBa...
来源: Laya3.0_api 发布时间: 20231115
...; 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.alignH = Stage.ALIGN_CENTER; Laya.stage.sca...
来源: Laya2.0_示例 发布时间: 20240930
... "#FF7F50", 210, 290); } private createText(align: string, underlineWidth: number, underlineColor: string, x: number, y: number): Text { var txt: Text = new Text(); txt.text = "Layabox\n是HTML5引擎技术提供商\n与优秀的游戏发行商\n 面向AS/JS/TS开发者提供HTML5开发技术方案"...
来源: Laya_示例 发布时间: 20240930
... export class Interaction_Swipe { //swipe滚动范围 private TrackLength: number = 200; //触发swipe的拖动距离 private TOGGLE_DIST: number = this.TrackLength / 2; private buttonPosition: number; private beginPosition: number; private endPosition: number; private button: Sprite; constructor() ...
来源: Laya_示例 发布时间: 20240930
... "#FF7F50", 210, 290); } private createText(align: string, underlineWidth: number, underlineColor: string, x: number, y: number): Text { var txt: Text = new Text(); txt.text = "Layabox\n是HTML5引擎技术提供商\n与优秀的游戏发行商\n 面向AS/JS/TS开发者提供HTML5开发技术方案"...
来源: Laya2.0_示例 发布时间: 20240930