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

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

1111. laya.d3.core.scene.bvh.BVHSpatialBox_API3.0 [ 66%]

...bvh/BVHSpatialBox" BVHSpatialBox Class BVHSpatialBox<T> BVH子空间 Type parameters T Hierarchy BVHSpatialBox BVHRenderBox Index Constructors constructor Accessors parent Methods addCell destroy fillCell fillRemove getItemByCameraCullInfo getItemByFrustum getItemBySCI getList getNearlist getc...

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

1112. 游戏系怎么把一些共用的功能独立出来 [ 66%]

...包括JS 如:  var atlas:Object[] = [{ url: "res/atlas/choujiang.js", type: Loader.TEXT },                             { url: "res/atlas/choujiang.json", type: Loader.ATLAS },         ];         Laya.loader.load(atlas, Handler.create(this, this.onLoaded), Handler.create(this...

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

1113. laya.d3.core.particleshuriken.module.shape.SphereShape_API3.0 [ 66%]

...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

1114. laya.d3.core.particleshuriken.module.shape.HemisphereShape_API3.0 [ 66%]

...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

1115. laya.ui.Panel [ 66%]

...域的属性为: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

1116. Laya.URL.basePath加载不到网络资源 [ 66%]

...加载不到网络资源 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

1117. websocket连接出错 [ 66%]

... 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

1118. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 66%]

...,资源商店也一般不允许这类插件上架。 在项目的engine/types目录,有三个与编辑器插件开发相关的声明文件,editor.d.ts, editor-ui.d.ts, editor-env.d.ts,他们包含了大量编辑器的扩展API。 editor.d.ts 是编辑器UI进程的API。常用的是全局对...

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

1119. laya.ani.bone.canvasmesh.SkinMeshForGraphic_API3.0 [ 66%]

...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

1120. 用LayaAir引擎解析Tiled Map地图(JavaScript-2D进阶篇(JS)-扩展模块) [ 66%]

...然后使用`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