大约有 2,727 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0067 秒)
Laya_社区(1131) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya2.0_示例(109) Laya3.0_文档(86)
...de 克隆。 Returns any 克隆副本。 cloneTo cloneTo(destObject: any): void Overrides BaseShape.cloneTo Defined in laya/d3/core/particleShuriKen/module/shape/HemisphereShape.ts:95 override Parameters destObject: any Returns void generatePositionAndDirection generatePositionAndDirection(position:...
来源: Laya3.0_api 发布时间: 20231115
... * **/ public function Load(url:String,isGroup:Boolean):void { _path = UrlConfig.EFFECT_PATH_3D+url; var itemComplete:Sprite3D = Laya.loader.getRes(_path); if(itemComplete == null || itemComplete.loaded == false){ ...
来源: Laya_社区 发布时间: 20180601
...this.createCharacters), null, Loader.ATLAS); } private createCharacters(): void { this.characterGroup = []; for (var i: number = 0; i = 0; --i) { this.animateCharactor(this.characterGroup[i]); } } private animateCharactor(charactor: Sprite): void { charactor.x += this.moveSpeed; charactor.rotation +...
来源: Laya_示例 发布时间: 20241119
... } private function beginLoad():void { //加载引擎需要的资源 Laya.loader.load(aniPath, Handler.create(this,onLoaded),null,Loader.ATLAS); } private functi...
来源: Laya_社区 发布时间: 20180725
... oldWith: number = 0; oldheight: number = 0; HengPing(isFirst: boolean): void { if (Laya.stage != null) { this.oldWith = Laya.Browser.clientWidth; this.oldheight= Laya.Browser.clientHeight; } console.log("设置横屏" + isFirst); if (isFirst) Laya3D.init(1280, 720, true); else Laya.stage.width ...
来源: Laya_社区 发布时间: 20180517
...s any Methods Static begin begin(source: string, lowerCaseName?: boolean): void Defined in laya/html/XMLIterator.ts:33 Parameters source: string Optional lowerCaseName: boolean Returns void Static getAttribute getAttribute(attrName: string): string Defined in laya/html/XMLIterator.ts:218 Parameters ...
来源: Laya3.0_api 发布时间: 20231115
...类里面有写这样的代码: override protected function initialize():void { on(Event.ADDED, this, onShow); on(Event.REMOVED, this, onHide); } protected function onShow():void { } protected function onHide():void { }我创建的View类 重写onShow方法可以正常使用,但dialog重写就...
来源: Laya_社区 发布时间: 20161220
...arCodeAt(i)); } socket.flush(); } private function onSocketClose(e:*=null):void { trace("Socket closed"); } private function onMessageReveived(message:*=null):void { trace("Message from server:"); if (message is String) { trace(message); } else if (message is ArrayBuffer) { trace(new Byte(message).r...
来源: Laya_示例 发布时间: 20241119
...的作用域。 ##### 2.1 init函数: ```java private function init():void { mapDiv = Browser.createElement("div"); Browser.document.body.appendChild(mapDiv); // 适应窗口尺寸 refit(); Laya.stage.on(Event.RESIZE, this, refit); // 初始化地图 map = new BMap.Map(map...
来源: Laya2.0_文档 发布时间: 20210715
...de 克隆。 Returns any 克隆副本。 cloneTo cloneTo(destObject: any): void Overrides BaseShape.cloneTo Defined in laya/d3/core/particleShuriKen/module/shape/BoxShape.ts:97 override Parameters destObject: any Returns void generatePositionAndDirection generatePositionAndDirection(position: Vector...
来源: Laya3.0_api 发布时间: 20231115