大约有 2,727 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0073 秒)
Laya_社区(1131) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya2.0_示例(109) Laya3.0_文档(86)
...加子节点到指定的索引位置。 BaseScene addChildren(... args):void 批量增加子节点 Node addFrustumCullingObject(renderObject:BaseRender):void BaseScene addRenderQuene():void 添加渲染队列。 BaseScene addShaderDefine(define:int):void 增加shader宏定义。 BaseScene befor...
来源: laya_api 发布时间: 20170422
... in laya/html/HtmlElement.ts:79 Methods fetchAttributes fetchAttributes(): void Defined in laya/html/HtmlElement.ts:64 Returns void getAttr getAttr(attrName: string): any Defined in laya/html/HtmlElement.ts:34 Parameters attrName: string Returns any getAttrBool getAttrBool(attrName: string, defValue...
来源: Laya3.0_api 发布时间: 20231115
...Accessors lightmap get lightmap(): Lightmap set lightmap(value: Lightmap): void Defined in laya/d3/component/HLOD/HLODUtil.ts:48 Returns Lightmap Defined in laya/d3/component/HLOD/HLODUtil.ts:51 Parameters value: Lightmap Returns void material get material(): Material set material(value: Material): ...
来源: Laya3.0_api 发布时间: 20231115
..._SHOWALL; Laya.stage.bgColor = "#232628"; this.setup(); } private setup(): void { this.createCharacter(); this.createEaseFunctionList(); this.createDurationCrontroller(); } private createCharacter(): void { this.character = new Sprite(); this.character.loadImage("res/cartoonCharacters/1.png"); this....
来源: Laya2.0_示例 发布时间: 20241118
...s:63 Accessors gravity get gravity(): Vector3 set gravity(value: Vector3): void Defined in laya/d3/physicsCannon/CannonPhysicsSimulation.ts:129 获取重力。 Returns Vector3 Defined in laya/d3/physicsCannon/CannonPhysicsSimulation.ts:135 获取重力。 Parameters value: Vector3 Returns void solve...
来源: Laya3.0_api 发布时间: 20231102
...ode 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node close(dialog:Dialog, type:String = null):void 关闭对话框。 DialogManager close...
来源: laya_api 发布时间: 20170929
..._SHOWALL; Laya.stage.bgColor = "#232628"; this.setup(); } private setup(): void { this.createCharacter(); this.createEaseFunctionList(); this.createDurationCrontroller(); } private createCharacter(): void { this.character = new Sprite(); this.character.loadImage("../../res/cartoonCharacters/1.png");...
来源: Laya_示例 发布时间: 20241118
...Laya.stage.on('mouseup', this, this.onMouseUp); } private createCanvases():void { var graphicsCanvas:Sprite = new Sprite(); Laya.stage.addChild(graphicsCanvas); var liveGraphicsCanvas:Sprite = new Sprite(); Laya.stage.addChild(liveGraphicsCanvas); this.liveGraphics = liveGraphicsCanvas.graphics; thi...
来源: Laya_示例 发布时间: 20241118
...ted Public Methods MethodDefined By addAniSprite(sprite:TileAniSprite):void 把一个动画对象绑定到当前GridSprite GridSprite addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):vo...
来源: laya_api 发布时间: 20170929
...owSleeping get allowSleeping(): boolean set allowSleeping(value: boolean): void Defined in laya/physics/Physics.ts:195 设置是否允许休眠,休眠可以提高稳定性和性能,但通常会牺牲准确性 Returns boolean Defined in laya/physics/Physics.ts:199 设置是否允许休眠,休...
来源: Laya3.0_api 发布时间: 20231115