大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0059 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
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
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class TiledMap_IsometricWorld { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(1600, 800, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDD...
来源: Laya2.0_示例 发布时间: 20250223
API DocumentationAll Packages | All Classes | Index | Frames No Frames UVAnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class UVAnimationsInheritanceUVAnimations KeyframeAnimations Component3D EventDispatcher Object UVAnimations 类用于创建UV动...
来源: laya_api 发布时间: 20170603
...d3/RenderObjs/NativeOBJ/NativeRenderContext3DOBJ" NativeRenderContext3DOBJ Class NativeRenderContext3DOBJ Hierarchy NativeRenderContext3DOBJ Implements IRenderContext3D Index Constructors constructor Accessors cameraShaderData cameraUpdateMark configShaderData destTarget globalShaderData invertY pip...
来源: Laya3.0_api 发布时间: 20231115
...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
....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
...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
...ya.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_CENTER; Laya...
来源: Laya_示例 发布时间: 20250223
API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientProperties | Methods Packagelaya.d3.coreClasspublic class GradientInheritanceGradient ObjectImplements laya.d3.core.IClone Gradient 类用于创建颜色渐变。 Public Properties PropertyDefined By colorAlp...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames MouseManagerProperties | Methods | Constants Packagelaya.eventsClasspublic class MouseManagerInheritanceMouseManager Object MouseManager 是鼠标、触摸交互管理器。 鼠标事件流包括捕获阶段、目标阶...
来源: Laya2.0_api 发布时间: 20190513