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

大约有 2,945 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0072 秒)

1081. laya.d3.renderobjs.nativeobj.NativeVertexBuffer3D_API3.0 [ 68%]

...s "laya/d3/RenderObjs/NativeOBJ/NativeVertexBuffer3D" NativeVertexBuffer3D Class NativeVertexBuffer3D Hierarchy VertexBuffer3D NativeVertexBuffer3D Index Constructors constructor Properties _buffer _bufferType _bufferUsage _byteLength _conchVertexBuffer3D _glBuffer Accessors bufferUsage canRead inst...

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

1082. 加载-加载序列 [ 68%]

...aya { 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 // 不开启缓存 // 关闭并发加载 La...

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

1083. TiledMap,mapLayer追加精灵无法显示,已参考完已有问题解答,无法解决 [ 68%]

...会报错说_showGridList不存在,需要在libs/LayaAir.d.ts里,找到class MapLayer extends Sprite这一行,在下面加上一行代码: class MapLayer extends Sprite { _mapData: Array<any>; /** * @private */ _gridSpriteArray: Array<any>; _showGridList: Array<any>; //这...

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

1084. laya.d3.math.BoundBox [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BoundBoxProperties | Methods Packagelaya.d3.mathClasspublic class BoundBoxInheritanceBoundBox ObjectImplements laya.d3.core.IClone BoundBox 类用于创建包围盒。 Public Properties PropertyDefined By  max : Vecto...

来源: Laya2.0_api 发布时间: 20190513

1085. Image属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 68%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Image)。 ​ **Image 组件的资源示例:** ​ ![图片0.png](img/1.png) ​ (图1) ​ **Image 组件拖放到编辑区后显示效果:** ​ ![图片0.png](img/2.png) ​ (图2) ### 1.2 Image ...

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

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

2.0按钮添加事件报错 cannot read property 'on' fof undefined class GameLogin extends ui.login.login_bgUI { constructor() { super(); this.btn_register.on("click", this, this.ToRegisterPage); } ToRegisterPage() : void { this.loadScene("login/register_page"); } }   //调用on的时候 直接...

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

1087. layaMaxUI.js export ui bug (影响编译) [ 68%]

...0beta2  IDE自动生成的/src/ui/layaMaxUI.js 中代码如下: /**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ var CLASS$=Laya.class; var STATICATTR$=Laya.static; var View=laya.ui.View; var Dialog=laya.ui.Dialog; if(!window.ui) window.ui={}; ........

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

1088. TypeError: Cannot read property '_byteLength' of null [ 68%]

...r.window.conch.setFontFaceFromBuffer is not a function Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprit...

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

1089. 关于类中方法的调用 [ 68%]

...ount = function(){         //-----         }     }     Laya.class(FactionListItem,"FactionListItem",FactionMainNodeUI);     return FactionListItem; })();       在一个类里。。我可以用this.这样直接调用方法吗?我现在调用了会报错? 2017-11-27 添加评...

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

1090. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 68%]

...示这个img。我们新建个项目。代码如下所示: ```typescript class LayaUISample { constructor() { //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor = "#ffcccc"; var data: string = "data:image/svg+xml," + '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var sp: Laya.Spri...

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