大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0094 秒)
Laya_社区(1162) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya3.0_文档(117) Laya2.0_示例(109)
...Extra RegisterExtra(context: string, extraName: string, handler: Handler): void Defined in laya/gltf/glTFUtils.ts:188 注册 extra 处理函数 Parameters context: string extraName: string handler: Handler Returns void Static UnRegisterExtra UnRegisterExtra(context: string, extraName: string, recove...
来源: Laya3.0_api 发布时间: 20231102
... Public Methods Show Inherited Public Methods MethodDefined By destroy():void 销毁组件 Component onReset():void 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用...
来源: Laya2.0_api 发布时间: 20190513
... - **writeArrayBuffer**(arraybuffer:*, offset:uint = 0, length:uint = 0):void 写入指定的二进制缓冲数据。指定数据的偏移量和长度,如下: ```typescript var byte:Byte = new Byte(); var byte1:Byte = new Byte(); byte1.writeFloat32(20.0);//写入一个四个字节的浮点数 by...
来源: Laya2.0_文档 发布时间: 20210715
...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
...Methods addAniSprite addAniSprite(aniName: string, sprite: TileAniSprite): void Defined in laya/map/TileTexSet.ts:48 加入一个动画显示对象到此动画中 Parameters aniName: string //显示对象的名字 sprite: TileAniSprite //显示对象 Returns void clearAll clearAll(): void Defined in...
来源: Laya3.0_api 发布时间: 20231115
... Public Methods Show Inherited Public Methods MethodDefined By destroy():void 销毁组件 Component onReset():void 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用...
来源: Laya2.0_api 发布时间: 20190513
.../AutoBitmap.ts:29 Accessors cmds get cmds(): any[] set cmds(value: any[]): void Inherited from Graphics.cmds Defined in laya/display/Graphics.ts:151 命令流。存储了所有绘制命令。 Returns any[] Inherited from Graphics.cmds Defined in laya/display/Graphics.ts:155 命令流。存储了所...
来源: Laya3.0_api 发布时间: 20231115
...p=Resource&name=GarbageCollection)) ```typescript function(e:Laya.Event):void { this._castType++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this._scene)//_sce...
来源: Laya2.0_文档 发布时间: 20210715
...个 SkyBoxMaterial 实例。 SkyBoxMaterial _addReference(count:int = 1):void[override] BaseMaterial _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] BaseMaterial _removeReference(count:int = 1):void[override] BaseMaterial clone():* 克隆。 BaseMa...
来源: Laya2.0_api 发布时间: 20190513
...ode 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Component changeText(text:String)...
来源: laya_api 发布时间: 20170929