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

大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0058 秒)

2051. popup设置了关闭效果后,窗口关闭但遮罩层没有关掉,请问如何处理 [ 52%]

...            }   import { ui } from "./ui/layaMaxUI"; export default class ShopDialog extends ui.ShopDialogUI { constructor() { super(); this.popupEffect = Laya.Handler.create(this, this.showEffect); this.closeEffect = Laya.Handler.create(this, this.hideEffect); this.btnClose.on(Laya.Event.CLI...

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

2052. 内嵌模式创建scene,运行时报找不到json文件 [ 52%]

...,并且都是ide自动生成的代码。     export module ui { export class HelloUI extends Scene { public static uiView:any ={"type":"Scene","props":{"width":640,"height":1136},"compId":2,"child":[{"type":"Label","props":{"y":64,"x":214.5,"width":211,"text":"label","styleSkin":"comp/label.png"...

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

2053. [LayaAir 2.0] 如何用代码为Spirte添加2d物理特性 [ 52%]

...rte添加2d物理特性 官方的2d物理引擎文档都是IDE篇的。   class CollisionBoll extends Laya.Sprite { private _boll1:Laya.Sprite; constructor() { super(); //物理模块 this._boll1 = new Laya.Sprite(); this.addChild(this._boll1); this._boll1.x = 20; this._boll1.loadImage('comp/btn_cl...

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

2054. 取色器组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...代码设定ColorPicker相关的属性。示例代码如下: const { regClass, property } = Laya; @regClass() export class UI_ColorPicker extends Laya.Script { private skin: string = "atlas/comp/colorPicker.png"; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件...

来源: Laya3.0_文档 发布时间: 20240910

2055. 请教Laya.BitmapFont加载位图文字不能显示的问题 [ 52%]

...教Laya.BitmapFont加载位图文字不能显示的问题 // 程序入口 class GameMain{ private mFontName:string = "diyFont"; private mBitmapFont:Laya.BitmapFont; constructor() { Laya.init(600,400); this.mBitmapFont = new Laya.BitmapFont(); this.mBitmapFont.loadFont("../laya/assets/txt.fnt", new L...

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

2056. laya.d3.shader.Shader3D [ 52%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Shader3DProperties | Methods | Constants Packagelaya.d3.shaderClasspublic class Shader3DInheritanceShader3D Object Shader3D 类用于创建Shader3D。 Public Properties PropertyDefined By  debugMode : Boolean = false...

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

2057. laya.d3.renderobjs.nativeobj.NativeShaderData_API3.0 [ 52%]

...u Globals "laya/d3/RenderObjs/NativeOBJ/NativeShaderData" NativeShaderData Class NativeShaderData Hierarchy ShaderData NativeShaderData Implements IClone INativeUploadNode Index Properties _dataType _nativeObj nativeObjID payload32bitNum updataSizeMap updateMap Accessors uniformBuffersMap Methods ad...

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

2058. laya 构建ios项目的UIWebview问题 [ 52%]

...注 | 3 ... nm libconch.a | grep UIW                  U _OBJC_CLASS_$_UIWebView 0000000000002620 s l_OBJC_$_PROTOCOL_INSTANCE_METHODS_OPT_UIWebViewDelegate 0000000000002688 s l_OBJC_$_PROTOCOL_METHOD_TYPES_UIWebViewDelegate 0000000000002608 s l_OBJC_$_PROTOCOL_REFS_UIWebViewDelegate 00000...

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

2059. 对象池 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...的类。 * @return 此类型标识的一个对象。 */ static getItemByClass<T>(sign: string, cls: new () => T): T { if (!Pool._poolDic[sign]) return new cls(); var pool = Pool.getPoolBySign(sign); if (pool.length) { var rst = pool.pop(); rst[Pool.POOLSIGN] = false; } else { rst = new cls...

来源: Laya3.0_文档 发布时间: 20240910

2060. laya.resource.BaseTexture_API3.0 [ 52%]

...ternals Only exported Menu Globals "laya/resource/BaseTexture" BaseTexture Class BaseTexture BaseTexture 纹理的父类,抽象类,不允许实例。 Hierarchy Resource BaseTexture NativeRenderTexture2D RenderTexture2D RenderTexture TextureCube Texture2DArray Texture2D VideoTexture Index Constru...

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