大约有 3,003 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0129 秒)
Laya_社区(1068) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(109)
...2017-03-21 17:11 浏览: 1247 关注: 2 人 vincent • 2017-03-21 17:41 //class common.dataModule.DataSingleton var DataSingleton=(function(){ function DataSingleton(){}; __class(DataSingleton,'common.dataModule.DataSingleton'); DataSingleton.dxMerchantID=20000020; DataSingleton.dxAccount=null Data...
来源: Laya_社区 发布时间: 20170321
API DocumentationAll Packages | All Classes | Index | Frames No Frames ColliderBaseProperties | Methods Packagelaya.physicsClasspublic class ColliderBaseInheritanceColliderBase Component ObjectSubclasses BoxCollider, ChainCollider, CircleCollider, PolygonCollider 碰撞体基类 Public Prop...
来源: Laya2.0_api 发布时间: 20190513
...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
...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_示例 发布时间: 20260303
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
...会报错说_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
....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Image)。 **Image 组件的资源示例:**  (图1) **Image 组件拖放到编辑区后显示效果:**  (图2) ### 1.2 Image ...
来源: Laya2.0_文档 发布时间: 20210714
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
...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
...示这个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