大约有 382 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0057 秒)
...int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Arra...
来源: Laya2.0_api 发布时间: 20190513
...侦听器。 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 EventDispatcher once(type:String, caller:*, listener:Function, args:Arra...
来源: laya_api 发布时间: 20170603
...的i值去给name赋值,在鼠标点击事件触发的时候,获取e.target.name即可 或者 在for循环的过程中为你的btn添加鼠标事件,通过传参的方式,为每个btn传递一个标识,譬如btn001,btn002,尾部数组为for下的i值,然后在...
来源: Laya_社区 发布时间: 20170425
...,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性...
来源: Laya3.0_api 发布时间: 20231115
...int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Arra...
来源: Laya2.0_api 发布时间: 20190513
...ride] 添加子节点到指定的索引位置。 Sprite3D addChildren(... args):void 批量增加子节点 Node addComponent(type:*):Component3D 添加指定类型组件。 Sprite3D clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node clone():* ...
来源: laya_api 发布时间: 20170929
...ride] 添加子节点到指定的索引位置。 Sprite3D addChildren(... args):void 批量增加子节点 Node addComponent(type:*):Component3D 添加指定类型组件。 Sprite3D clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node clone():* ...
来源: laya_api 发布时间: 20170929
....ts:839 Parameters value: Vector3 out: Vector3 Returns void lookAt lookAt(target: Vector3, up: Vector3, isLocal?: boolean, isCamera?: boolean): void Overrides Transform3D.lookAt Defined in laya/d3/RenderObjs/NativeOBJ/NativeTransform3D.ts:482 观察目标位置。 Parameters target: Vector3 观察...
来源: Laya3.0_api 发布时间: 20231115
...int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode buildRenderElementAndMaterial(deta...
来源: Laya2.0_api 发布时间: 20190513
...int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Arra...
来源: Laya2.0_api 发布时间: 20190513