大约有 357 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0050 秒)
Laya_社区(99) Laya_示例(78) Laya2.0_示例(68) Laya3.0_api(55) Laya2.0_文档(35) Laya3.0_文档(11) laya_api(6) Laya2.0_api(5)
...te var mArmature:Skeleton; private var index:int;//帧频 private var time:Number; public function DragonDemo() { Laya.init(800,600,WebGL); index=15; mFactory=new Templet(); mFactory.on(Event.COMPLETE,this,omTemLoaded); mFactory.loadAni('NewDragon/NewDragon.sk'); } private function omTemLoaded():voi...
来源: Laya_社区 发布时间: 20170509
...gColor = "#232628"; this.setup(); } private setup(): void { var terminalX: number = 200; var characterA: Sprite = this.createCharacter("res/cartoonCharacters/1.png"); characterA.pivot(46.5, 50); characterA.y = 100; var characterB: Sprite = this.createCharacter("res/cartoonCharacters/2.png"); charact...
来源: Laya2.0_示例 发布时间: 20260303
...内meshSprite添加阴影属性无效 TextInput 的 type 属性设置为 number 的时候 maxChars 字数限制无效 子域里面排行榜滑动无效,找不到原因。。跪求指导。。。 在设计模式里A元素比B元素层级低,当我点击舞台的时候给A的层级通过zOrder设...
来源: Laya_社区 发布时间: 20170417
...rl: any, complete?: Handler, progress?: Handler, type?: string, priority?: number, cache?: boolean, group?: string, ignoreCache?: boolean): LoaderManager; 这里的ignoreCache对图片资源不工作! 这是导致划屏的原因。 悬赏充了100块,没人解决也不会退回。。 网上la...
来源: Laya_社区 发布时间: 20180609
... port, client): void { //初始化 this.client = new Paho.MQTT.Client(url, Number(port), client); // set callback handlers //连接消失 收到消息 this.client.onConnectionLost = this.onConnectionLost; this.client.onMessageArrived = this.onMessageArrived; // connect the client this.client.connect...
来源: Laya_社区 发布时间: 20180903
...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
...or = "#232628"; this.createApes(); } private createApes(): void { var gap: number = 300; this.sp1 = new Sprite(); this.sp1.loadImage("../../res/apes/monkey2.png", 0, 0); this.sp1.pos((Laya.stage.width - gap) / 2, Laya.stage.height / 2); //设置轴心点为中心 this.sp1.pivot(55, 72); Laya.stage.a...
来源: Laya_示例 发布时间: 20260303
... private var mesh1:MeshSprite3D; private var camera2:Camera; private var x:Number = 0; private var y:Number = 0; public function D3Base_TargetTexture() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); loadUI(); var scene:Scen...
来源: Laya_社区 发布时间: 20170209
...or = "#232628"; this.createApes(); } private createApes(): void { var gap: number = 300; this.sp1 = new Sprite(); this.sp1.loadImage("res/apes/monkey2.png", 0, 0); this.sp1.pos((Laya.stage.width - gap) / 2, Laya.stage.height / 2); //设置轴心点为中心 this.sp1.pivot(55, 72); Laya.stage.addChil...
来源: Laya2.0_示例 发布时间: 20260303
...de:any = xml.firstChild; var nodes:Array = rootNode.childNodes; for (var i:number = 0; i item aitem bsomethis..."; var xmlValue:String = "item aitem bsomethings..."; proessXML(xmlValueContainsError); trace("\n"); proessXML(xmlValue); } // 使用xml private function proessXML(source:String):void { tr...
来源: Laya2.0_示例 发布时间: 20260303