大约有 178 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0095 秒)
... 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
...: 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
...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
...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
...响。 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
... 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 viewport get viewport(): Rectangle set viewport(valu...
来源: 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
... treeSize : Vector3 四/八叉树的尺寸。Scene url : String 获取资源的URL地址。 Scene viewport : Rectangle = null 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图...
来源: laya_api 发布时间: 20170929
..."resource/ui/btn_close.png", Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { dialog = new Dialog_Instance();//创建一个 Dialog_Instance 类的实例对象 dialog。 dialog.dragArea = "0,0,150,50";//设置 dialog 的拖拽区域。 dialog.show();/...
来源: 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