大约有 1,448 项符合查询结果, 库内数据总量为 30,936 项。 (搜索耗时: 0.0043 秒)
Laya3.0_api(470) Laya_社区(446) Laya_示例(152) Laya2.0_示例(119) Laya2.0_api(71) Laya2.0_文档(71) Laya3.0_文档(61) laya_api(58)
...tproperty public var getContext:Function 获取 Canvas 渲染上下文。 Constructor DetailHTMLCanvas()Constructorpublic function HTMLCanvas(type:String) 根据指定的类型,创建一个 HTMLCanvas 实例。请不要直接使用 new HTMLCanvas! Parameters type:String — 类型。2D、3D。 ...
来源: laya_api 发布时间: 20170929
...Dictionary()的时候。组件拖动到界面会报错 Dictionary is not a constructor 2017-09-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: 目前IDE中没有Dictionary类...
来源: Laya_社区 发布时间: 20170913
...perty public var velocityAddVariance:Number = 0发射器速度随机值。Constructor DetailEmitterRing()Constructorpublic function EmitterRing(particle3D:Particle3D) 创建一个 EmitterRing 实例。 Parameters particle3D:Particle3D — 粒子。 Method Detailemit()methodoverride public function ...
来源: laya_api 发布时间: 20170603
...个类 绑定了这个类后, class TextInputEx extends Laya.TextInput constructor() { console.log("执行了"); super() ; } // 获取焦点 onFocus() : void { console.log("焦点进入"); // 是否缓存初始的文本提示字符串和文本颜色. if (!this.initText) { this.initText = this.text...
来源: Laya_社区 发布时间: 20181012
...的现象,fast模式和slow模式都有这个问题 class Scene_Test { constructor() { super(); Laya.timer.frameLoop(1,this,this.update); } private update() { let dt = Laya.timer.delta / 1000; console.log("dt="+dt); } } 附件中图1是在iphone6上面运行打印的信息,图2是在模拟下...
来源: Laya_社区 发布时间: 20180808
...位中心的addChild到一个父容器,父容器的轴线点也是中心 constructor(skin:Box) { super(); this.mc = skin; this._name = this.mc.name; this.addChild(this.mc); var xx:number = this.mc.x; var yy:number = this.mc.y; this.x = xx; this.y = yy; //一个轴心点中心的addChild到另一...
来源: Laya_社区 发布时间: 20171220
...点的水平坐标。yproperty public var y:Number该点的垂直坐标。Constructor DetailPoint()Constructorpublic function Point(x:Number = 0, y:Number = 0) 根据指定坐标,创建一个新的 Point 对象。 Parameters x:Number (default = 0) — (可选)水平坐标。 y:Number (defau...
来源: Laya2.0_api 发布时间: 20190513
...? 怎样解决? new Laya.TiledMap()提示错误:Laya.TiledMap is not a constructor [闪退!!!][崩溃!!Crash]LayaNative 2.8.0 js 调用 oc 同步方法,有返回值的时候崩溃 多application打包laya获取资源失败导致闪退 问题状态 最新活动: 2018-05-11 17:54 浏览: 2143 关...
来源: Laya_社区 发布时间: 20180510
....Browser; import Point = Geometry.Point; // 程序入口 class GameMain{ constructor() { Laya.init(Browser.width, Browser.height, WebGL); this.CreateCircle(); // this.CreateRectangle(); } private firstSp: Laya.Sprite; private _adaptSp: Laya.Sprite; private _pointList : Point[]; private _rootSp : L...
来源: Laya_社区 发布时间: 20190314
...width height 下面是模型文件 private _factory: Laya.Templet; constructor(spine, x, y, speed) { this._factory = new Laya.Templet(); this._factory.loadAni(`../bin/res/spine_model/${spine}.sk`); this._factory.on(Laya.Event.COMPLETE, this, this.parseCompl...
来源: Laya_社区 发布时间: 20161108