大约有 63 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0073 秒)
...d: boolean Defined in laya/media/VideoTexture.ts:32 inernal 避免重复的加载 _needUpdate _needUpdate: boolean Defined in laya/media/VideoTexture.ts:33 destroyedImmediately destroyedImmediately: boolean Inherited from Resource.destroyedImmediately Defined in laya/resource/Resource.ts:112 是否...
来源: Laya3.0_api 发布时间: 20231115
...te?: Handler): Promise<void> Defined in laya/resource/Texture.ts:277 加载指定地址的图片。 Parameters url: string 图片地址。 Optional complete: Handler 加载完成回调 Returns Promise<void> off off(type: string, listener: Function): EventDispatcher off(type: string, call...
来源: Laya3.0_api 发布时间: 20231115
... Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoPlay autoPlay: boolean = true Defined in laya/particle/Particle2D.ts:2...
来源: Laya3.0_api 发布时间: 20231115
...ader.load("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 ,并传入它的皮...
来源: Laya3.0_api 发布时间: 20231115
...oader.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
...例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载图集并播放 animation.x = 200;//设置 animation 对象的属性 x 的值,用于控制 animation 对象的显示位置。 animation.y = 200;//设置 animation 对象的属性 x 的值,用于控制 animation 对...
来源: Laya3.0_api 发布时间: 20231115
...或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 example 以下示例代码,创建了一个新的 Image 实例,设置了它的皮肤、位置信息,并添加到舞台上...
来源: Laya3.0_api 发布时间: 20231115
...nBase._skinBaseUrl Defined in laya/display/Sprite.ts:269 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:57 autoSize autoSize: boolean = false Inherited from AnimationBase.autoSize D...
来源: Laya3.0_api 发布时间: 20231102
... Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Implementation of ISelect._url Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Implemen...
来源: Laya3.0_api 发布时间: 20231115
... Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoDestroyAtClosed autoDestroyAtClosed: boolean = false Inherited from Sc...
来源: Laya3.0_api 发布时间: 20231115