大约有 550 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0032 秒)
Laya2.0_api(174) laya_api(132) Laya_示例(65) Laya_社区(56) Laya2.0_示例(51) Laya2.0_文档(36) Laya3.0_api(32) Laya3.0_文档(4)
...or (var y = mnum; y >= 0; y--) { for (var x = 0; x = 0; y--) { for (var x: number = 0; x =0; y--) { for ( var x:int = 0; x < rnum; x++) { var mtl:PBRMaterial = new PBRMaterial(); mtl.use_groundtruth = false; mtl.diffuseTexture = Texture2D.load('../../../../res/threeDimen/pbr/c1.png'); mtl.normalText...
来源: Laya_示例 发布时间: 20241118
...onSelect); Laya.stage.addChild(tab); return tab; } private onSelect(index: number): void { console.log("当前选择的标签页索引为 " + index); } } } new laya.UI_Tab();package { import laya.display.Stage; import laya.ui.Tab; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_T...
来源: Laya_示例 发布时间: 20241118
...onSelect); Laya.stage.addChild(tab); return tab; } private onSelect(index: number): void { console.log("当前选择的标签页索引为 " + index); } } } new laya.UI_Tab();package { import laya.display.Stage; import laya.ui.Tab; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_T...
来源: Laya2.0_示例 发布时间: 20241118
..."#5D0776", "#EC8A49", "#AF3666", "#F6C84C", "#4C779A"]; private colorCount:number = 0; private isDown:Boolean = false; private path:Array = []; private color:String = this.colors[0]; private liveGraphics:Graphics; private canvasGraphics:Graphics; constructor() { Laya.init(Browser.width, Browser.heig...
来源: Laya_示例 发布时间: 20241118
..."#5D0776", "#EC8A49", "#AF3666", "#F6C84C", "#4C779A"]; private colorCount:number = 0; private isDown:Boolean = false; private path:Array = []; private color:String = this.colors[0]; private liveGraphics:Graphics; private canvasGraphics:Graphics; constructor() { Laya.init(Browser.width, Browser.heig...
来源: Laya2.0_示例 发布时间: 20241118
...L = Laya.WebGL; export class Interaction_Hold { private HOLD_TRIGGER_TIME: number = 1000; private apePath: string = "../../res/apes/monkey2.png"; //触发hold事件时间为1秒 private ape: Sprite; private isApeHold: Boolean; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Brows...
来源: Laya_示例 发布时间: 20241118
...L = Laya.WebGL; export class Interaction_Hold { private HOLD_TRIGGER_TIME: number = 1000; private apePath: string = "res/apes/monkey2.png"; //触发hold事件时间为1秒 private ape: Sprite; private isApeHold: Boolean; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.cli...
来源: Laya2.0_示例 发布时间: 20241118
...tip:"../../res/guide/help3.png", tipx:900, tipy:300 } ]; private guideStep:number = 0; private hitArea:HitArea; private interactionArea:Sprite; constructor() { Laya.init(1285, 727); Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.alignV = Stage.ALIGN_MIDDLE; //绘制一个蓝色方块,不被抠...
来源: Laya_示例 发布时间: 20241118
...g = "../../res/ui/coutDown.png"; private counter: Clip; private currFrame: number; private controller: Button; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = ...
来源: Laya_示例 发布时间: 20241118
...:110, tip:"res/guide/help3.png", tipx:900, tipy:300 } ]; private guideStep:number = 0; private hitArea:HitArea; private interactionArea:Sprite; constructor() { Laya.init(1285, 727); Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.alignV = Stage.ALIGN_MIDDLE; //绘制一个蓝色方块,不被抠...
来源: Laya2.0_示例 发布时间: 20241118