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

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

1. laya.ui.Button_API3.0 [ 100%]

...oad("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var button:Button = new Button("resource/ui/button.png","label");//创建一个 Button 类的实例对象 button ,并传入它的皮肤。 b...

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

2. laya.ui.CheckBox_API3.0 [ 99%]

...load("resource/ui/check.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var checkBox:CheckBox = new CheckBox("resource/ui/check.png", "这个是一个CheckBox组件。");//创建一个 CheckBox 类的实例对象...

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

3. laya.ui.Image_API3.0 [ 93%]

... Image 实例。 Parameters Default value skin: string | null = null 皮肤资源地址。 Returns Image Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Overrides Sprite._graphics Defined in laya/ui/Image.ts:...

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

4. laya.ui.AdvImage_API3.0 [ 91%]

...: string): void Inherited from Image.group Defined in laya/ui/Image.ts:169 资源分组。 Returns string Inherited from Image.group Defined in laya/ui/Image.ts:173 资源分组。 Parameters value: string Returns void height get height(): number set height(value: number): void Inherited from Image....

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

5. laya.display.Scene_API3.0 [ 86%]

...ts:25 场景被关闭后,是否自动销毁(销毁节点和使用到的资源),默认为false autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不...

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

6. laya.ui.View_API3.0 [ 86%]

...ts:25 场景被关闭后,是否自动销毁(销毁节点和使用到的资源),默认为false autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不...

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

7. laya.ui.Radio_API3.0 [ 83%]

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

8. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 79%]

...ed in laya/d3/core/reflectionProbe/ReflectionProbe.ts:81 设置反射探针资源 Returns number Defined in laya/d3/core/reflectionProbe/ReflectionProbe.ts:85 设置反射探针资源 Parameters value: number Returns void is3D get is3D(): boolean Inherited from Node.is3D Defined in laya/display/Node...

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

9. laya.ui.ComboBox_API3.0 [ 77%]

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

10. laya.ani.swf.MovieClip_API3.0 [ 75%]

...响。 basePath basePath: string Defined in laya/ani/swf/MovieClip.ts:71 资源根目录。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标事件...

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