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

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

111. laya.ui.VSlider_API3.0 [ 31%]

...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vslider.png", "resource/ui/vslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { vSlider = new VSlider();//创建一个 VS...

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

112. laya.ui.Clip_API3.0 [ 31%]

...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { clip = new Clip("resource/ui/clip_num.png", 10, 1);//创建一个 Clip 类的实例对象 clip ,传入它的皮肤skin和横向分割数量、竖向分割数量。 clip.aut...

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

113. laya.ui.Image_API3.0 [ 31%]

...戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var bg:Image = new Image("resource/ui/bg.png");//创建一个 Image 类的实例对象 bg ,并传入它的皮肤。 bg.x = 100;//设置 bg 对象的属性 x 的值,用于...

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

114. laya.display.Sprite_API3.0 [ 22%]

...、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { sprite = new Sprite();//创建一个 Sprite 类的实例对象 sprite 。 sprite.loadImage("resource/ui/bg.png");//加载并显示图片。 sprite.x = 200;//设置 sprite ...

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

115. 2D物理系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 21%]

... (图18-1) 在关节连线的编辑模式时,通过长按拖拽不同颜色锚点,就可以改变对应的刚体锚点位置。 当鼠标双击刚体和节点之外的位置后,关节连续锚点的编辑会自动取消。如需再次编辑,再次点击编辑关节连线按钮即可。 4...

来源: Laya3.0_文档 发布时间: 20251010

116. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 20%]

...tor.GUIUtils。 export interface IGUIUtils { /** * 编辑器默认的背景颜色 */ bgColor: gui.Color; /** * 编辑器默认的分割线颜色 */ lineColor: gui.Color; /** * 编辑器默认的文字颜色 */ textColor: gui.Color; createButton(autoSize?: boolean): gui.Button; createIconButton(flat?...

来源: Laya3.0_文档 发布时间: 20251010

117. laya.display.Animation_API3.0 [ 11%]

...、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 init();//初始化 } private function init():void { var animation:Animation = new Animation();//创建一个 Animation 类的实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载图集...

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