大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0092 秒)
Laya_社区(1162) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya3.0_文档(117) Laya2.0_示例(109)
...y Byte(data:* = null) 创建一个 Byte 类的实例。 Byte clear():void 清除字节数组的内容,并将 length 和 pos 属性重置为 0。调用此方法将释放 Byte 实例占用的内存。 Byte ensureWrite(lengthToEnsure:int):void 保证该字节流的可用长度不小于 lengt...
来源: laya_api 发布时间: 20170929
...E_SHOWALL; Laya.stage.bgColor = "#232628"; this.setup(); } private setup():void { this.createApe(); this.createTimerLine(); Laya.stage.on( Event.KEY_DOWN, this, this.keyDown); } private createApe():void { this.target = new Sprite(); this.target.loadImage("../../res/apes/monkey2.png"); Laya.stage.add...
来源: Laya_示例 发布时间: 20260303
...Inherited Public Methods MethodDefined By cacheRes(url:String, data:*):void[static] 缓存资源。 Loader clearRes(url:String):void[static] 清理指定资源地址的缓存。 Loader clearResByGroup(group:String):void[static] 根据分组清理资源。 Loader clearTextureRes(url:Stri...
来源: Laya2.0_api 发布时间: 20190513
...量。 Returns number Methods _setIndexData _setIndexData(data: number): void _setIndexData(data: Uint32Array | Uint16Array | Uint8Array, bufferOffset: number): void Inherited from IndexBuffer._setIndexData Defined in laya/RenderEngine/IndexBuffer.ts:18 Parameters data: number Returns void Inherited...
来源: Laya3.0_api 发布时间: 20231115
...加子节点到指定的索引位置。 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
..._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_示例 发布时间: 20260303
...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
...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