大约有 3,033 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0065 秒)
Laya_社区(1088) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(110)
...ly exported Menu Globals "laya/components/AnimationClip2D" AnimationClip2D Class AnimationClip2D Hierarchy Resource AnimationClip2D Index Constructors constructor Properties _id destroyedImmediately islooping lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount...
来源: Laya3.0_api 发布时间: 20231115
...roup=Text&name=BitmapFont 测试代码: let fontName = "diyFont"; class Text_BitmapFont { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); ...
来源: Laya_社区 发布时间: 20190221
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
....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VScrollBar)。 VScrollBar 组件的图像资源示例:  (图1)  (图2)  (图3) ![图片0.p...
来源: Laya2.0_文档 发布时间: 20210715
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
...容相关的链接 提交 6 个回复 fx_guo 赞同来自: 程序代码: class LayaAir3D { constructor() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //添加3D场景 var scene = Laya.Sce...
来源: Laya_社区 发布时间: 20171017
...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
...浏览: 2083 关注: 2 人 198*****136 • 2020-09-11 16:34 export default class Scene_Battle extends Laya.Script{ playerUnitReady:number; enemyUnitReady:number; private playerUnit:Laya.Animation[]; private enemyUnit:Laya.Animation[]; constructor(){ super(); Laya.stage.alignH= Laya.Stage.ALIGN_CENTE...
来源: Laya_社区 发布时间: 20200910
API DocumentationAll Packages | All Classes | Index | Frames No Frames ParticleMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class ParticleMaterialInheritanceParticleMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public ...
来源: laya_api 发布时间: 20170603
..."../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(thi...
来源: Laya_社区 发布时间: 20170215