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

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

501. 缓动-简单的Tween [ 67%]

...wser = Laya.Browser; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Tween_SimpleSample { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_...

来源: Laya2.0_示例 发布时间: 20250221

502. Config3D_API3.0 [ 67%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "Config3D" Config3D Class Config3D Config3D 类用于创建3D初始化配置。 Hierarchy Config3D Index Properties BVH_Min_Build_nums BVH_limit_size BVH_max_SpatialCount customResolution debugFrustumCul...

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

503. 文本-单行输入 [ 67%]

...ge = Laya.Stage; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_InputSingleline { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIG...

来源: Laya_示例 发布时间: 20250221

504. 文本-位图字体 [ 67%]

... = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Text_BitmapFont { private fontName: string = "diyFont"; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDL...

来源: Laya2.0_示例 发布时间: 20250221

505. laya.d3.renderobjs.renderobj.SkinRenderElementOBJ_API3.0 [ 67%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/RenderObj/SkinRenderElementOBJ" SkinRenderElementOBJ Class SkinRenderElementOBJ Hierarchy RenderElementOBJ SkinRenderElementOBJ Implements IRenderElement Index Constructors constructo...

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

506. 2.0按钮添加事件报错 cannot read property 'on' fof undefined [ 67%]

...not read property 'on' of undefined   我再把生成的ui代码贴出来 export class login_bgUI extends View {         public btn_close:Laya.Button;         public lab_account:Laya.TextInput;         public btn_login:Laya.Button;         public lab_password:Laya.Te...

来源: Laya_社区 发布时间: 20181207

507. 文本-禁止编辑 [ 67%]

...ge = Laya.Stage; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_Editable { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTE...

来源: Laya_示例 发布时间: 20250221

508. laya.d3.core.Bounds_API3.0 [ 67%]

...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/Bounds" Bounds Class Bounds Bounds 类用于创建包围体。 Hierarchy Bounds Implements IClone Index Constructors constructor Properties _boundBox TEMP_VECTOR3_MAX0 TEMP_VECTOR3_MAX1 Met...

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

509. laya.d3.renderobjs.renderobj.RenderContext3DOBJ_API3.0 [ 67%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/RenderObj/RenderContext3DOBJ" RenderContext3DOBJ Class RenderContext3DOBJ Hierarchy RenderContext3DOBJ Implements IRenderContext3D Index Constructors constructor Properties cameraShad...

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

510. 加载-加载序列 [ 67%]

...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 // 不开启缓存 // 关闭并发...

来源: Laya_示例 发布时间: 20250221