大约有 2,861 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0077 秒)
Laya_社区(1676) Laya3.0_api(672) Laya2.0_文档(152) Laya2.0_api(128) laya_api(122) Laya3.0_文档(84) Laya2.0_示例(16) Laya_示例(11)
...rs constructor Properties emitFromShell enable radius randomDirection shapeType Methods clone cloneTo generatePositionAndDirection Constructors constructor new SphereShape(): SphereShape Overrides BaseShape.constructor Defined in laya/d3/core/particleShuriKen/module/shape/SphereShape.ts:14 创建一...
来源: Laya3.0_api 发布时间: 20231115
...rs constructor Properties emitFromShell enable radius randomDirection shapeType Methods clone cloneTo generatePositionAndDirection Constructors constructor new HemisphereShape(): HemisphereShape Overrides BaseShape.constructor Defined in laya/d3/core/particleShuriKen/module/shape/HemisphereShape.ts:...
来源: Laya3.0_api 发布时间: 20231115
...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系...
来源: laya_api 发布时间: 20170929
...,资源商店也一般不允许这类插件上架。 在项目的engine/types目录,有三个与编辑器插件开发相关的声明文件,editor.d.ts, editor-ui.d.ts, editor-env.d.ts,他们包含了大量编辑器的扩展API。 editor.d.ts 是编辑器UI进程的API。常用的是全局对...
来源: Laya3.0_文档 发布时间: 20250214
...加载不到网络资源 var resArray = [ { url: "res/atlas/images.atlas", type : Laya.Loader.ATLAS}, // { url: "res/swf/flash.json", type: Laya.Loader.JSON}, // { url: "images/background.png", type : Laya.Loader.IMAGE}, ]; Laya.loader.load(resArray, Laya.Handler.create(this, this.onLoaded2)); ...
来源: Laya_社区 发布时间: 20180531
... function(data){ console.log(data); }); }); 自己写的html页面 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> </body> <script type="text/javascript" src="js/jquery-3.1.1.min.js" ></script> <...
来源: Laya_社区 发布时间: 20181107
...Transform uvTransform uvs vertices getBounds init2 Legend Class Class with type parameter Constructor Property Method Object literal Variable Function Type alias Inherited property Inherited method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...然后使用`scale`属性对地图进行缩放。 示例代码如下: ```typescript //初始化舞台 Laya.init(Laya.Browser.width,Laya.Browser.height,Laya.WebGL); //创建TiledMap实例 this.tMap = new Laya.TiledMap(); //创建Rectangle实例,视口区域 var viewRect = new Laya.Rectangle(0,0,L...
来源: Laya2.0_文档 发布时间: 20210715
...Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Button }) public uiBtn: Laya.Button; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.uiBtn.on(Laya.Even...
来源: Laya3.0_文档 发布时间: 20240910
...或拓展 public static var getUrlAndEncode:Function = function(url:String,type:String):String { if (url.indexOf(".fnt") != -1 || url.indexOf("xxx.json") != -1) { return "utf8"; } else if (type == "arraybuffer") { return ""; } return "ascii"; } 2018-01-15 0 0 分享 微博 QZONE 微信 liwenhua 赞...
来源: Laya_社区 发布时间: 20180115