大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0083 秒)
Laya_社区(1162) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya3.0_文档(117) Laya2.0_示例(109)
...olor = "#232628"; this.createCantralRect(); } private createCantralRect(): void { this.rect = new Sprite(); this.rect.graphics.drawRect(-100, -100, 200, 200, "gray"); Laya.stage.addChild(this.rect); this.updateRectPos(); } private updateRectPos(): void { this.rect.x = Laya.stage.width / 2; this.rect...
来源: Laya_示例 发布时间: 20260303
...leColliderShape 实例。 CapsuleColliderShape _setScale(value:Vector3):void[override] CapsuleColliderShape clone():*[override] 克隆。 CapsuleColliderShape cloneTo(destObject:*):void 克隆。 ColliderShape updateLocalTransformations():void 更新本地偏移,如果修改LocalOffset或Loc...
来源: Laya2.0_api 发布时间: 20190513
...s手机都没问题,求大神给解答下啊! private connect(): void { console.log("connect...."); this.hr = new Laya.HttpRequest(); this.hr.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.hr.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.hr.once(Laya....
来源: Laya_社区 发布时间: 20201023
... Boolean = false[static] StatPublic Methods MethodDefined By enable():void[static] 激活性能统计Stat hide():void[static] 隐藏性能统计信息。 Stat show(x:Number = 0, y:Number = 0):void[static] 显示性能统计信息。 StatProperty Detail_useCanvaspropertypublic static var _...
来源: Laya2.0_api 发布时间: 20190513
...ode 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = nu...
来源: Laya2.0_api 发布时间: 20190513
...45 克隆。 Returns any 克隆副本。 cloneTo cloneTo(destObject: any): void Defined in laya/d3/component/Animator/AvatarMask.ts:54 克隆。 Parameters destObject: any 克隆源。 Returns void getAllTranfromPath getAllTranfromPath(): Record<string, boolean> Defined in laya/d3/component/An...
来源: Laya3.0_api 发布时间: 20231115
...his.resFix + keyChar + ".png"; } /** * 清除字体 */ private clearFnt(): void { XUtils.removeChilds(this.chars, BPFont.fontPool); } /** * 获取一个字体对象 */ private getSprite(): Laya.Sprite { let sp = BPFont.fontPool.shift() || new Laya.Sprite(); return sp; } /** * 创建位图文本 * @p...
来源: Laya_社区 发布时间: 20180302
...olor = "#232628"; this.createCantralRect(); } private createCantralRect(): void { this.rect = new Sprite(); this.rect.graphics.drawRect(-100, -100, 200, 200, "gray"); Laya.stage.addChild(this.rect); this.updateRectPos(); } private updateRectPos(): void { this.rect.x = Laya.stage.width / 2; this.rect...
来源: Laya_示例 发布时间: 20260303
...olor = "#232628"; this.createCantralRect(); } private createCantralRect(): void { this.rect = new Sprite(); this.rect.graphics.drawRect(-100, -100, 200, 200, "gray"); Laya.stage.addChild(this.rect); this.updateRectPos(); } private updateRectPos(): void { this.rect.x = Laya.stage.width / 2; this.rect...
来源: Laya_示例 发布时间: 20260303
...nLeaf() 创建一个新的 TerrainLeaf 实例。 TerrainLeaf __init__():void[static] TerrainLeaf calcLeafBoudingBox(worldMatrix:Matrix4x4):voidTerrainLeaf calcLeafBoudingSphere(worldMatrix:Matrix4x4, maxScale:Number):voidTerrainLeaf calcLODErrors(terrainHeightData:Float32Array, heighData...
来源: Laya2.0_api 发布时间: 20190513