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

大约有 1,232 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0052 秒)

411. UI-TextArea [ 70%]

... = 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

412. laya.d3.math.BoundBox_API3.0 [ 70%]

...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

413. 预设/场景的导出(JavaScript-3D基础(JS)-LayaAir3D之3D场景可视化编辑) [ 70%]

...们刚才预览的场景,当配置好输出场景设置后。 点击Laya Export 按钮,导出一个Scene3D与Sprite3D各一个,合并的一个文件夹目录结构如下(图1)。 ![](img/1.png)(图1) 见上图文件资源,导出后生成了.ls、.lm、.lmat数据资源,及贴图jpg、p...

来源: Laya2.0_文档 发布时间: 20210715

414. laya.d3.core.render.command.DrawMeshInstancedCMD_API3.0 [ 70%]

...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

415. 性能测试-虫子(慎入) [ 70%]

...= 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

416. laya.d3.core.ui3d.UI3DManager_API3.0 [ 70%]

...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

417. 加载-加载序列 [ 70%]

...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

418. 文本-自动换行 [ 70%]

...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

419. laya.events.MouseManager_API3.0 [ 70%]

...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

420. laya.d3.core.render.command.BlitScreenQuadCMD_API3.0 [ 70%]

...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