大约有 350 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0057 秒)
Laya_社区(97) Laya_示例(78) Laya2.0_示例(68) Laya3.0_api(55) Laya2.0_文档(35) Laya3.0_文档(6) laya_api(6) Laya2.0_api(5)
...加缓动的函数 private function addTime(timeLine:TimeLine,sp:Sprite,yy:Number):void { timeLine=new TimeLine(); timeLine.to(sp, {y: yy}, 3000, Ease.linearIn); timeLine.once(Event.COMPLETE,this, complete,[sp,timeLine]); timeLine.play(0,false); } //清理缓动的函数 private function clearTime(t...
来源: Laya_社区 发布时间: 20161207
...ya.SpineTempletBinary; private skeleton:Laya.SpineSkeleton; private index: number = -1; constructor() { Laya.init(Laya.Browser.width, Laya.Browser.height,Laya.WebGL); Laya.stage.scaleMode = Laya.Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; Laya.Stat.show(); this.startFun(); } private startFu...
来源: Laya2.0_文档 发布时间: 20210715
...vent.MOUSE_UP, this, function (): void { var str: String = ""; for (var i: number = 0; i < this._outHitAllInfo.length; i++) { str += this._outHitAllInfo.sprite3D.name + " "; } if (this._outHitAllInfo.length == 0) { str = "点击选取的几何体"; } this.label.text = str; }); } } } 以上是...
来源: Laya_社区 发布时间: 20180820
...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
...60); } /***滚动条位置变化回调***/ private function onChange(value:Number):void { promptText.text= "滚动条的位置: value=" + value; } } } ```
来源: Laya2.0_文档 发布时间: 20210715
...50); } /***滚动条位置变化回调***/ private function onChange(value:Number):void { promptText.text= "滚动条的位置: value=" + value; } } } ```
来源: Laya2.0_文档 发布时间: 20210714
...({ output: { }, numWorkers:1,//Amount of workers to spawn. Defaults to the number of CPUs minus 1 sourcemap: false })*/ ] }).then(bundle => { return bundle.write({ file: workSpaceDir + '/bin/js/bundle.js', format: 'iife', name: 'laya', sourcemap: false }); }).catch(err=>{ console.log(err); }) ...
来源: Laya_社区 发布时间: 20200918
...SpineTempletBinary; private var skeleton:SpineSkeleton; private var index: Number = -1; public function Main() { Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; Stat.show(); this.startFun(); } private function startFun(): v...
来源: Laya2.0_文档 发布时间: 20210715
... string = "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 = ...
来源: Laya2.0_文档 发布时间: 20210714
...ollBar.y-50); } /***滚动条位置变化回调***/ private onChange(value:Number):void { this.promptText.text= "滚动条的位置: value=" + value; } } } new laya.UI_ScrollBar(); ```
来源: Laya2.0_文档 发布时间: 20210715