大约有 29 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0073 秒)
...yaAir IDE动画文件路径:使用此类型需要预加载所需的图集资源,否则会创建失败,如果不想预加载或者需要创建完毕的回调,请使用loadAnimation(...)方法; 2. 图集路径:使用此类型创建的动画模版不会被缓存到动画模版缓存池中...
来源: 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
... 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 Methods _initialize _initialize(): void Inherited fr...
来源: 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
...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
...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
...响。 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 viewMatrix get viewMatrix(): Matrix4x4 Defined in la...
来源: Laya3.0_api 发布时间: 20231115
...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