大约有 3,003 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0097 秒)
Laya_社区(1068) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(109)
API DocumentationAll Packages | All Classes | Index | Frames No Frames HBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hi...
来源: Laya2.0_api 发布时间: 20190513
...= Laya.Stage; import WebGL = Laya.WebGL; export class Sprite_DrawShapes { private sp: Sprite; constructor() { Laya.init(500, 300, WebGL); this.drawSomething(); ...
来源: Laya2.0_文档 发布时间: 20210715
...n.ts`文件,在index.html中引用。编写以下代码: ```typescript class Main { constructor() { //初始化舞台 Laya.init(1334,750); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集资源,加载成功后将UI界面添加到舞台上 Laya.loader.load("./res/atlas/ui....
来源: Laya2.0_文档 发布时间: 20210715
...xternals Only exported Menu Globals "laya/media/VideoTexture" VideoTexture Class VideoTexture VideoTexture 多媒体纹理 Hierarchy BaseTexture VideoTexture Index Constructors constructor Properties _id _isLoaded _needUpdate destroyedImmediately element lock name url uuid DEBUG Accessors anisoLevel...
来源: Laya3.0_api 发布时间: 20231115
....net.Loader; import laya.ui.ProgressBar; import laya.utils.Handler; public class LoadingDemo { private var progressBar:ProgressBar; public function LoadingDemo() { Laya.init(550,400); //预加载loading条资源 var pro1:Object={url:"loads/progressBar.png",type:Loader.IMAGE}; var pro2:Object={url:"l...
来源: Laya_社区 发布时间: 20160509
API DocumentationAll Packages | All Classes | Index | Frames No Frames AdvImageProperties | Methods | Events Packagelaya.uiClasspublic class AdvImageInheritanceAdvImage Image UIComponent Sprite Node EventDispatcher Object 广告插件 Public Properties Hide Inherited Public Properties Show...
来源: Laya2.0_api 发布时间: 20190513
...用会报错 如何获取animation的node节点? Uncaught Can not find class Laya.Text layaair2-cmd 编译bug 关于@prop {name:Tab,type:Node} 我觉得好麻烦啊 ,请问一下有别的方法吗 构建app后导入AS报错Could not find com.android.tools.build:gradle:3.1.2. 2.0.0编译报错Can...
来源: Laya_社区 发布时间: 20200623
....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Button)。 ### 1.2.使用LayaAirIDE创建Button 使用LayaAirIDE创建Button更加简单,通过IDE的可视化操作,完全不需要程序基础,即可实现组件的创建与布局,也是推荐使用的...
来源: Laya2.0_文档 发布时间: 20210714
...laya.ui.Button; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_Button { private const COLUMNS:int = 2; private const BUTTON_WIDTH:int = 147; private const BUTTON_HEIGHT:int = 165 / 3; private const HORIZONTAL_SPACING:int = 200; private const VERTICAL_SPACING:int = 100; private v...
来源: Laya_示例 发布时间: 20260303
... All Inherited Externals Only exported Menu Globals "laya/utils/Ease" Ease Class Ease Ease 类定义了缓动函数,以便实现 Tween 动画的缓动效果。 Hierarchy Ease Index Methods backIn backInOut backOut bounceIn bounceInOut bounceOut circIn circInOut circOut cubicIn cubicInOut cubicOut ...
来源: Laya3.0_api 发布时间: 20231115