大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0058 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
... } 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
...,并且都是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
...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
...代码设定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
...教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
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
...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
...注 | 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
...的类。 * @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
...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