大约有 89 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0081 秒)
...。 Parameters url:String — 模板地址。 complete:Handler — 完成回调。 render()method override public function render(ctx:Context, x:Number, y:Number):void 更新、呈现显示对象。由系统调用。 Parameters ctx:Context — 渲染的上下文引用。 x:Number — X轴坐标...
来源: Laya2.0_api 发布时间: 20190513
...,否则会创建失败,如果不想预加载或者需要创建完毕的回调,请使用loadAnimation(...)方法; 2. 图集路径:使用此类型创建的动画模版不会被缓存到动画模版缓存池中,如果需要缓存或者创建完毕的回调,请使用loadAtlas(...)方法;...
来源: Laya3.0_api 发布时间: 20231115
...width,sp.height); })); Laya.stage.addChild(sp); loadImage在加载完成的回调函数触发之后才可以正确获取宽高。 直接调用size设置: Laya.loader.load("res/apes/monkey2.png",Laya.Handler.create(this,function() { var texture=Laya.loader.getRes("res/apes/monkey2.png"); var sp=new...
来源: Laya3.0_文档 发布时间: 20251010
... Handler Defined in laya/ui/Dialog.ts:176 对话框被关闭时会触发的回调函数处理器。 回调函数参数为用户点击的按钮名字name:String。 closeType closeType: string Defined in laya/ui/Dialog.ts:196 关闭类型,点击name为"close","cancel","sure","no","yes","no...
来源: Laya3.0_api 发布时间: 20231115
...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 Parameters node: Node 指定的 Node...
来源: Laya3.0_api 发布时间: 20231115
...ler(this, onChangeColor,[colorPicket]);//设置 colorPicket 的颜色改变回调函数。 Laya.stage.addChild(colorPicket);//将此 colorPicket 对象添加到显示列表。 } private function onChangeColor(colorPicket:ColorPicker):void { trace("当前选择的颜色: " + colorPicket.selectedCol...
来源: Laya3.0_api 发布时间: 20231115
...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 Parameters node: Node 指定的 Node...
来源: Laya3.0_api 发布时间: 20231115
...angeHandler Defined in laya/ui/Slider.ts:46 数据变化处理器。 默认回调参数为滑块位置属性 value属性值:Number 。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,...
来源: Laya3.0_api 发布时间: 20231115
...angeHandler Defined in laya/ui/Slider.ts:46 数据变化处理器。 默认回调参数为滑块位置属性 value属性值:Number 。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,...
来源: Laya3.0_api 发布时间: 20231115
...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Implementation of ISelect.contains Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 P...
来源: Laya3.0_api 发布时间: 20231115