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

大约有 249 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0085 秒)

161. laya.net.Loader_API3.0 [ 40%]

...url: string | ILoadURL | (string | Readonly<ILoadURL>)[], complete?: Handler, progress?: Handler, type?: string, priority?: number, cache?: boolean, group?: string, ignoreCache?: boolean, useWorkerLoader?: boolean): Promise<any> Defined in laya/net/Loader.ts:204 加载资源。 Parameter...

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

162. laya.ui.Dialog_API3.0 [ 40%]

...一个 Dialog 实例。 package { import laya.ui.Dialog; import laya.utils.Handler; public class Dialog_Example { private var dialog:Dialog_Instance; public function Dialog_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的...

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

163. laya.d3.core.Sprite3D_API3.0 [ 40%]

... Returns Sprite3D 克隆实例。 Static load load(url: string, complete: Handler): void Defined in laya/d3/core/Sprite3D.ts:77 加载网格模板。 Parameters url: string 模板地址。 complete: Handler 完成回掉。 Returns void Globals "laya/d3/core/Sprite3D" Sprite3D constructor _extra _sce...

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

164. laya.display.BitmapFont_API3.0 [ 39%]

...的资源。 Returns void Static loadFont loadFont(path: string, complete: Handler): void Defined in laya/display/BitmapFont.ts:33 通过指定位图字体文件路径,加载位图字体文件,加载完成后会自动解析。 Parameters path: string 位图字体文件的路径。 complete: Hand...

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

165. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 38%]

... Returns Sprite3D 克隆实例。 Static load load(url: string, complete: Handler): void Inherited from PixelLineSprite3D.load Defined in laya/d3/core/Sprite3D.ts:77 加载网格模板。 Parameters url: string 模板地址。 complete: Handler 完成回掉。 Returns void Globals "laya/d3/core/refl...

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

166. laya.ui.TextInput_API3.0 [ 38%]

...e { import laya.display.Stage; import laya.ui.TextInput; import laya.utils.Handler; public class TextInput_Example { public function TextInput_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load...

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

167. laya.ui.TextArea_API3.0 [ 37%]

... TextArea 实例。 package { import laya.ui.TextArea; import laya.utils.Handler; public class TextArea_Example { public function TextArea_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/inpu...

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

168. laya.display.Scene_API3.0 [ 37%]

...ers node: Node Returns boolean loadImage loadImage(url: string, complete?: Handler): Sprite Inherited from Text.loadImage Defined in laya/display/Sprite.ts:1578 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片...

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

169. laya.ui.View_API3.0 [ 37%]

...ers node: Node Returns boolean loadImage loadImage(url: string, complete?: Handler): Sprite Inherited from Text.loadImage Defined in laya/display/Sprite.ts:1578 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片...

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

170. laya.ui.ViewStack_API3.0 [ 37%]

...ht rotation scaleX scaleY scene scrollRect selectedIndex selection setIndexHandler skewX skewY stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addItem bubb...

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