• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 355 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0093 秒)

321. laya.ui.ColorPicker_API3.0 [ 36%]

...ler(this, onChangeColor,[colorPicket]);//设置 colorPicket 的颜色改变回调函数。 Laya.stage.addChild(colorPicket);//将此 colorPicket 对象添加到显示列表。 } private function onChangeColor(colorPicket:ColorPicker):void { trace("当前选择的颜色: " + colorPicket.selectedCol...

来源: Laya3.0_api 发布时间: 20231115

322. 2D性能优化 · LayaAir3.0文档 · LAYABOX [ 34%]

...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_文档 发布时间: 20231008

323. laya.ui.Dialog [ 34%]

...ct修改 Dialog  closeHandler : Handler 对话框被关闭时会触发的回调函数处理器。 回调函数参数为用户点击的按钮名字name:String。 Dialog comXml : Object XML 数据。 Component customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开...

来源: laya_api 发布时间: 20170929

324. laya.ui.HSlider_API3.0 [ 33%]

...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

325. laya.ui.VSlider_API3.0 [ 33%]

...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

326. laya.ui.Button_API3.0 [ 31%]

...。 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

327. laya.ui.CheckBox_API3.0 [ 31%]

...。 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

328. laya.ui.ProgressBar_API3.0 [ 31%]

...。 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

329. laya.ui.Radio_API3.0 [ 31%]

...。 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

330. laya.ui.RadioGroup_API3.0 [ 31%]

...。 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