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

大约有 218 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)

1. 关于2.1.0代码设计的疑问 [ 100%]

...于 2.1.0版本 Vector3 的疑问 如下:2.1.0的Vector3 /**@private */ public static const _ZERO:Vector3 =/*[STATIC SAFE]*/ new Vector3(0.0, 0.0, 0.0); /**@private */ public static const _ONE:Vector3 =/*[STATIC SAFE]*/ new Vector3(1.0, 1.0, 1.0); /**@private */ public static const _NegativeUnitX:...

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

2. 有没有浮雕滤镜? [ 99%]

...i 目前只有以下的滤镜和混合模式 /**@private 模糊滤镜。*/ public static const BLUR:int = 0x10; /**@private 颜色滤镜。*/ public static const COLOR:int = 0x20; /**@private 发光滤镜。*/ public static const GLOW:int = 0x08; public static const NAMES:Array = /*[STATIC SAFE]*/["...

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

3. TextInput有禁用中文输入法的功能吗? [ 96%]

...链接 提交 2 个回复 Laya_Aaron 赞同来自:         static public const TYPE_TEXT:String = "text";         /** password 类型用于密码域输入。*/         static public const TYPE_PASSWORD:String = "password";         /** email 类型用于应该包含 e-...

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

4. laya绘制图形进行缩放的时候有问题 [ 93%]

...018-02-11 15:32 浏览: 650 关注: 2 人 a1748004424 • 2018-02-11 15:44 public static SymbolRoot(sp: Laya.Sprite, cfg: any) { sp.graphics.drawCircle(0, 0, 20, "#ffffff", "#000000", 3); sp.graphics.drawLine(-20, -20, 20, 20, "#000000", 3); } public static SymbolSeq(sp...

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

5. 分享个资源加载的方法,类似白鹭的加载方式 [ 92%]

...足之处还请见谅 class RES extends Laya.EventDispatcher{ // 资源组 public static groups: any; // 资源 public static resources: any; // 完成加载资源配置文件 public static ONLOADEDRESJSON: string = "onLoadedResJson"; // 资源配置文件加载出错 public static ONLOADERRORRESJSO...

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

6. dialog 关闭效果在哪里关闭啊,,我在ide 属性面板都找不到 [ 90%]

...*对话框内的某个按钮命名为close,点击此按钮则会关闭*/ public static const CLOSE:String = "close"; /**对话框内的某个按钮命名为cancel,点击此按钮则会关闭*/ public static const CANCEL:String = "cancel"; /**对话框内的某个按钮命名为sure,点击此...

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

7. 新手入坑请教下各位大神关于LayaMaxUI问题 [ 89%]

...le ui.test { export class TestSceneUI extends Laya.Scene {         public scoreLbl:Laya.Label;         public tipLbll:Laya.Label; constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("test/TestScene"); } } REG("ui.test.TestSceneUI",TestSceneUI); }  ...

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

8. socket大型项目回调 [ 89%]

...YPE_DATA] = this.onData; this.handlers[Package.TYPE_KICK] = this.onKick; } public init(params,cb:Function):void{ console.log("init",params); this.initCallback = cb; var host = params.host; var port = params.port; var uid = params.session_id; var user_name = params.user_name; // //var url = 'ws://' +...

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

9. Laya.Pool用法 [ 89%]

... ProtoPool {         private static _dic: Laya.Dictionary;         public static PROTO_HEAD: string = "proto_Head";         public static PROTO_BINARY_REQUEST: string = "proto_BinaryRequest";         public static PROTO_PARAMS: string = "proto_ParamsProto";         public static ...

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

10. 问下tiledmap类中的renderOrder应该怎么用 [ 86%]

...复 cuixueying 赞同来自:   /**地图格子从左上角开始渲染*/ public static const RENDERORDER_RIGHTDOWN:String = "right-down"; /**地图格子从左下角开始渲染*/ public static const RENDERORDER_RIGHTUP:String = "right-up"; /**地图格子从右上角开始渲染*/ public static co...

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