大约有 1,316 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0101 秒)
Laya_社区(636) Laya3.0_api(190) laya_api(135) Laya2.0_api(131) Laya2.0_文档(128) Laya3.0_文档(94) Laya2.0_示例(1) Laya_示例(1)
...(爆发):爆发是产生粒子的事件。用于控制粒子系统在指定时间一次性发射多个粒子。 Time(时间):设置发射爆发粒子的时间(粒子系统开始播放后的秒数)。如果设置的值大于粒子系统的Duration(运行时长),则爆发不...
来源: Laya3.0_文档 发布时间: 20260122
...听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inher...
来源: Laya3.0_api 发布时间: 20231102
...fontSize?: number): number Defined in laya/display/BitmapFont.ts:120 获取指定文本内容的宽度。 Parameters text: string 文本内容。 Optional fontSize: number Returns number 宽度。 hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in la...
来源: Laya3.0_api 发布时间: 20231115
...子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node)...
来源: Laya2.0_api 发布时间: 20190513
...prite3D addChildAt(node:Node, index:int):Node[override] 添加子节点到指定的索引位置。 Sprite3D addChildren(... args):void 批量增加子节点 Node addComponent(type:*):Component3D 添加指定类型组件。 Sprite3D clearTimer(caller:*, method:Function):void 清理定时器。功...
来源: laya_api 发布时间: 20170929
...戏) 让物体匀速运动,且受到重力控制。 timeline 运动到指定位置,为什么onlabel执行时,物体并没有运动到指定位置,总有细微的差别 问题状态 最新活动: 2018-09-02 11:39 浏览: 2553 关注: 2 人
来源: Laya_社区 发布时间: 20180829
...url: string, checkObj?: any): void Defined in laya/net/Loader.ts:757 清理指定资源地址缓存。 Parameters url: string 资源地址。 Optional checkObj: any 如果缓存中的对象是这个,才清除,否则不清除 Returns void clearTextureRes clearTextureRes(url: string): void Defined...
来源: Laya3.0_api 发布时间: 20231115
...ic Methods MethodDefined By hasKeyDown(key:int):Boolean[static] 返回指定键是否被按下。 KeyBoardManagerProperty Detailenabledpropertypublic static var enabled:Boolean = true是否开启键盘事件,默认为trueMethod DetailhasKeyDown()method public static function hasKeyDown(key:in...
来源: laya_api 发布时间: 20170929
...ic Methods MethodDefined By hasKeyDown(key:int):Boolean[static] 返回指定键是否被按下。 KeyBoardManagerProperty Detailenabledpropertypublic static var enabled:Boolean = true是否开启键盘事件,默认为trueMethod DetailhasKeyDown()method public static function hasKeyDown(key:in...
来源: Laya2.0_api 发布时间: 20190513
...听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inher...
来源: Laya3.0_api 发布时间: 20231115