大约有 1,232 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0052 秒)
... = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_TextArea { private skin: string = "res/ui/textarea.png"; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage....
来源: Laya2.0_示例 发布时间: 20241118
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/BoundBox" BoundBox Class BoundBox BoundBox 类用于创建包围盒。 Hierarchy BoundBox Implements IClone Index Constructors constructor Properties max min Methods clone cloneTo getCenter...
来源: Laya3.0_api 发布时间: 20231115
...们刚才预览的场景,当配置好输出场景设置后。 点击Laya Export 按钮,导出一个Scene3D与Sprite3D各一个,合并的一个文件夹目录结构如下(图1)。 ![](img/1.png)(图1) 见上图文件资源,导出后生成了.ls、.lm、.lmat数据资源,及贴图jpg、p...
来源: Laya2.0_文档 发布时间: 20210715
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/command/DrawMeshInstancedCMD" DrawMeshInstancedCMD Class DrawMeshInstancedCMD Hierarchy Command DrawMeshInstancedCMD Index Constructors constructor Properties maxInstanceCount Access...
来源: Laya3.0_api 发布时间: 20231115
...= Laya.Stat; import Rectangle = Laya.Rectangle; import WebGL = Laya.WebGL; export class PerformanceTest_Maggots { private texturePath:string = "res/tinyMaggot.png"; private padding:number = 100; private maggotAmount:number = 5000; private tick:number = 0; private maggots:Array = []; private wrapBoun...
来源: Laya2.0_示例 发布时间: 20241118
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/UI3D/UI3DManager" UI3DManager Class UI3DManager Hierarchy UI3DManager Index Constructors constructor Properties _UI3Dlist Methods add destory rayCast remove update Constructors constructor ...
来源: Laya3.0_api 发布时间: 20231115
...odule laya { import Texture = Laya.Texture; import Handler = Laya.Handler; export class Loader_Sequence { private numLoaded: number = 0; private resAmount: number = 3; constructor() { Laya.init(500, 400); // 按序列加载 monkey2.png - monkey1.png - monkey0.png // 不开启缓存 // 关闭并发...
来源: Laya2.0_示例 发布时间: 20241118
...ext = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_WordWrap { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTE...
来源: Laya2.0_示例 发布时间: 20241118
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/events/MouseManager" MouseManager Class MouseManager MouseManager 是鼠标、触摸交互管理器。 鼠标事件流包括捕获阶段、目标阶段、冒泡阶段。 捕获阶段:此阶段引...
来源: Laya3.0_api 发布时间: 20231102
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/command/BlitScreenQuadCMD" BlitScreenQuadCMD Class BlitScreenQuadCMD Hierarchy Command BlitScreenQuadCMD Index Constructors constructor Accessors shaderData Methods destroy recover r...
来源: Laya3.0_api 发布时间: 20231115