大约有 76 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0082 秒)
...e(this,onLoadComplete)); } private function onLoadComplete():void { trace("资源加载完成!"); var button:Button = new Button("resource/ui/button.png","label");//创建一个 Button 实例对象 button ,传入它的皮肤skin和标签label。 button.x = 100;//设置 button 对象的属性 x 的...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Node.url Defined in laya/display/Node.ts:67 如果节点从资源中创建,这里记录是他的url Returns string Inherited from Node.url Defined in laya/display/Node.ts:74 设置资源的URL Parameters path: string Returns void viewMatrix get viewMatrix(): Matrix4x4 Inherited fro...
来源: Laya3.0_api 发布时间: 20231115
...oad("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var comboBox:ComboBox = new ComboBox("resource/ui/button.png", "item0,item1,item2,item3,item4,item5");//创建一个 ComboBox 类的实例...
来源: Laya3.0_api 发布时间: 20231115
...load("resource/ui/color.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var colorPicket:ColorPicker = new ColorPicker();//创建一个 ColorPicker 类的实例对象 colorPicket 。 colorPicket.skin = "resource/u...
来源: Laya3.0_api 发布时间: 20231115
...esource/ui/hscroll$up.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { hScrollBar = new HScrollBar();//创建一个 HScrollBar 类的实例对象 hScrollBar 。 hScrollBar.skin = "resource/ui/hscroll.png";//设置 hScrollBar 的皮肤。 hScro...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Node.url Defined in laya/display/Node.ts:66 如果节点从资源中创建,这里记录是他的url Returns string Inherited from Node.url Defined in laya/display/Node.ts:73 设置资源的URL Parameters path: string Returns void videoHeight get videoHeight(): number Defined in lay...
来源: Laya3.0_api 发布时间: 20231102
... Inherited from Node.url Defined in laya/display/Node.ts:67 如果节点从资源中创建,这里记录是他的url Returns string Inherited from Node.url Defined in laya/display/Node.ts:74 设置资源的URL Parameters path: string Returns void videoHeight get videoHeight(): number Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
...中,需要将图片编辑成“精灵纹理”,详细请参考《项目资源面板说明》。 2.3.2 RenderTexture的Texture 渲染纹理 (Render Texture)是在运行时不断更新渲染的一种特殊类型纹理 。渲染纹理的一个典型用法是将其设置为摄像机的“目标...
来源: Laya3.0_文档 发布时间: 20250103
...ource/ui/progress$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { progressBar = new ProgressBar("resource/ui/progress.png");//创建一个 ProgressBar 类的实例对象 progressBar 。 progressBar.x = 100;//设置 progressBar 对象的...
来源: Laya3.0_api 发布时间: 20231115
...source/ui/hslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { hSlider = new HSlider();//创建一个 HSlider 类的实例对象 hSlider 。 hSlider.skin = "resource/ui/hslider.png";//设置 hSlider 的皮肤。 hSlider.min = 0;//设...
来源: Laya3.0_api 发布时间: 20231115