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

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

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

1102. 区块地图-等角地图 [ 68%]

...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_示例 发布时间: 20241001

1103. laya.d3.component.animation.UVAnimations [ 68%]

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

1104. laya.d3.renderobjs.nativeobj.NativeRenderContext3DOBJ_API3.0 [ 68%]

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

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

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

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

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

...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_示例 发布时间: 20241001

1109. laya.d3.core.Gradient [ 67%]

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

1110. laya.events.MouseManager [ 67%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames MouseManagerProperties | Methods | Constants Packagelaya.eventsClasspublic class MouseManagerInheritanceMouseManager Object MouseManager 是鼠标、触摸交互管理器。 鼠标事件流包括捕获阶段、目标阶...

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