大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0073 秒)
Laya_社区(1162) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya3.0_文档(117) Laya2.0_示例(109)
...), null, Loader.JSON); } public onAssetsLoaded(settings: ParticleSetting): void { this.sp = new Particle2D(settings); this.sp.emitter.start(); this.sp.play(); Laya.stage.addChild(this.sp); this.sp.x = Laya.stage.width / 2; this.sp.y = Laya.stage.height / 2; } } } new laya.Particle_T3();package { imp...
来源: Laya2.0_示例 发布时间: 20260303
...t = 0; if(Browser.onMiniGame) Browser.window.wx.onMessage(function(data:*):void{//微信接受信息 if(data.url == "res/atlas/test.atlas" || data.url == "json/reward.json"){ mark ++; if(mark == 2)//确认数据全部接收后 Laya.loader.load([ "res/atlas/test.atlas", "json/reward.json"],Handler.cr...
来源: Laya2.0_文档 发布时间: 20210715
...有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { //点击Tab选择按钮的处理 this.tab.selectHandler = new Laya.Handler(this, this.onSelecte); } // 根据选择tab的索引切换页面 private onSelecte(index: number): void { //切换ViewStack子页面 this.views...
来源: Laya3.0_文档 发布时间: 20251010
...对象相等。 BoundFrustum getCorners(corners:Vector.<Vector3>):void 锥截体的8个顶点。 BoundFrustum getPlane(index:int):Plane 获取锥截体的任意一平面。 0:近平面 1:远平面 2:左平面 3:右平面 4:顶平面 5:底平面 BoundFrustumProperty Detailbottompropertybo...
来源: laya_api 发布时间: 20170929
...对象相等。 BoundFrustum getCorners(corners:Vector.<Vector3>):void 锥截体的8个顶点。 BoundFrustum getPlane(index:int):Plane 获取锥截体的任意一平面。 0:近平面 1:远平面 2:左平面 3:右平面 4:顶平面 5:底平面 BoundFrustumProperty Detailbottompropertybo...
来源: Laya2.0_api 发布时间: 20190513
...s.drawText(sprite.x, sprite.y, sprite.width, sprite.height); } onEnable(): void { } onDisable(): void { } } export enum layoutType { /**竖排 */ verticalRight = 0, } 2019-11-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...
来源: Laya_社区 发布时间: 20191103
...ll, method:String = get, responseType:String = text, headers:Array = null):void 发送 HTTP 请求。 HttpRequestEvents Event Summary Defined By complete请求结束后调度。HttpRequest error请求出错时调度。HttpRequest progress请求进度改变时调度。HttpRequestProperty De...
来源: Laya2.0_api 发布时间: 20190513
...ya.stage.bgColor = "#232628"; this.createTexts(); } private createTexts(): void { this.createText('left', 1, null, 100, 10); this.createText('center', 2, "#00BFFF", 155, 150); this.createText('right', 3, "#FF7F50", 210, 290); } private createText(align: string, underlineWidth: number, underlineColor...
来源: Laya_示例 发布时间: 20260303
...ition: Vector3, endPosition: Vector3, startColor: Color, endColor: Color): void { (this._render as PixelLineRenderer).addLine(startPosition, endPosition, startColor, endColor); } 3.3 Tool.linearModel() 通常我们可以利用addLine() 方法来实现把复杂的网格数据转变成像素线数据...
来源: Laya3.0_文档 发布时间: 20251010
...ils/Handler.ts:83 清理对象引用。 Returns Handler recover recover(): void Defined in laya/utils/Handler.ts:93 清理并回收到 Handler 对象池内。 Returns void run run(): any Defined in laya/utils/Handler.ts:56 执行处理器。 Returns any runWith runWith(data: any): any Defined in lay...
来源: Laya3.0_api 发布时间: 20231115