大约有 350 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0049 秒)
Laya_社区(97) Laya_示例(78) Laya2.0_示例(68) Laya3.0_api(55) Laya2.0_文档(35) Laya3.0_文档(6) laya_api(6) Laya2.0_api(5)
...具 Arguments: dir 输入目录 Options: -V, --version output the version number -o, --output <outDir> 指定输出目录,如果是相对目录,则是相对于当前目录 (default: "dccout") -m, --merge 是否合并小文件 -y, --overwrite 是否覆盖输出目录(保留历史记录需...
来源: Laya3.0_文档 发布时间: 20241024
...04 20:55:27.386: I/cr_LibraryLoader(7884): Expected native library version number "52.0.2743.100", actual native library version number "52.0.2743.100" 07-04 20:55:27.407: V/WebViewChromiumFactoryProvider(7884): Binding Chromium to main looper Looper (main, tid 1) {a21da91} 07-04 20:55:27.407: I/cr_...
来源: Laya_社区 发布时间: 20190704
...ite = Laya.Sprite; export class PerformanceTest_Cartoon2 { private amount: number = 500; private character1: Array = [ "res/cartoon2/yd-6_01.png", "res/cartoon2/yd-6_02.png", "res/cartoon2/yd-6_03.png", "res/cartoon2/yd-6_04.png", "res/cartoon2/yd-6_05.png", "res/cartoon2/yd-6_06.png", "res/cartoon2...
来源: Laya2.0_示例 发布时间: 20241118
...动文本 private createTween():void{ //"LayaBox字符串总宽度" var w:number = 800; //文本创建的起始位置(>>在此使用右移运算符,相当于/2 用>>效率更高) var offsetX:number = Laya.stage.width - w >> 1; //显示的字符串 var demoString:string = "LayaBox"; var letterText:...
来源: Laya2.0_文档 发布时间: 20210715
...tionTemplet.load(this.skinAniUrl[0]); skinAni.player.play(); } for (var i: number = 0, n: number = spirit3D._childs.length; i < n; i++) this.addSkinComponent(spirit3D._childs[i]); } //遍历节点,播放动画 public playSkinAnimation(spirit3D: Laya.Sprite3D, index: number): void { if (spirit3D inst...
来源: 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
...oaded)); } private createButton(skin: string,name:string,cb:Function,index:number): Button { var btn: Button = new Button(skin,name); Laya.stage.addChild(btn); btn.on(Event.CLICK,this,cb); btn.size(147,55); btn.name = name; btn.right = 10; btn.top = index * (btn.height + 10); return btn; } private o...
来源: Laya2.0_示例 发布时间: 20241118
... private function playDragonBonesAnimation(url:String,dragronX:Number,dragronY:Number,parent:Sprite,isLoop:Boolean):void{ var tem:Templet = new Templet(); var longgu:Skeleton; tem.loadAni(url); tem.on(Even...
来源: Laya_社区 发布时间: 20170406
..."#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
... 1, 0); private var _scale:Vector3 = new Vector3(); private var scaleDelta:Number = 0; private var scaleValue:Number = 0; public function Sprite3DTransform() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); scene = Laya.stage...
来源: Laya_示例 发布时间: 20241118