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

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

161. laya.net.URL [ 64%]

...ormat = function(url:String):String{} URL  exportSceneToJson : Boolean = false[static] 兼容微信不支持加载scene后缀场景,设置为true,则会把scene加载替换为jsonURL  path : String[read-only] 地址的文件夹路径(不包括文件名)。URL  rootPath : String[static]...

来源: Laya2.0_api 发布时间: 20190513

162. 在Laya中使用Matter.js的最简示例 (JS) [ 64%]

...ions: { // background: '../../res/physics/img/background.png', wireframes: false//true// } }); // create two boxes and a ground var boxA = Bodies.rectangle(400, 200, 80, 80); var boxB = Bodies.rectangle(450, 50, 80, 80); var ground = Bodies.rectangle(400, 610, 810, 60, { isStatic: true }); // add al...

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

163. laya.d3.core.render.ScreenTriangle_API3.0 [ 64%]

...ource/Resource.ts:101 获取资源的UUID。 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/resource/Resource.ts:18 Accessors cpuMemory get cpuMemory(): number Inherited from Resource.cpuMemory Defined in laya/resource/Resource.ts:116 内存大小。 Returns number...

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

164. laya.physics.joint.GearJoint_API3.0 [ 63%]

...加此类型的脚本一次 collideConnected collideConnected: boolean = false Defined in laya/physics/joint/GearJoint.ts:16 [首次设置有效]两个刚体是否可以发生碰撞,默认为false joint1 joint1: any Defined in laya/physics/joint/GearJoint.ts:12 [首次设置有效]要绑定的第1...

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

165. laya.resource.TextResource_API3.0 [ 63%]

...ource/Resource.ts:109 获取资源的UUID。 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/resource/Resource.ts:19 是否开启debug模式 Accessors cpuMemory get cpuMemory(): number Inherited from Resource.cpuMemory Defined in laya/resource/Resource.ts:124 内存...

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

166. laya.d3.core.Sprite3D [ 63%]

...n[read-only] 获取在场景中是否激活。 Node destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node  id : int[read-only] 获取唯一标识ID。 Sprite3D  isStatic : ...

来源: Laya2.0_api 发布时间: 20190513

167. laya.physics.joint.PrismaticJoint [ 63%]

...,比如1,0是沿X轴向右PrismaticJoint  collideConnected : Boolean = false[首次设置有效]两个刚体是否可以发生碰撞,默认为falsePrismaticJoint destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component  e...

来源: Laya2.0_api 发布时间: 20190513

168. laya.media.Sound [ 63%]

... Sound off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher offA...

来源: Laya2.0_api 发布时间: 20190513

169. laya.net.LoaderManager [ 63%]

...:int = 1, cache:Boolean = true, group:String = null, ignoreCache:Boolean = false, useWorkerLoader:Boolean = false):LoaderManager 加载资源。资源加载错误时,本对象会派发 Event.ERROR 事件,事件回调参数值为加载出错的资源地址。 因为返回值为 LoaderManager 对...

来源: Laya2.0_api 发布时间: 20190513

170. laya.d3.physics.shape.HeightfieldTerrainShape_API3.0 [ 63%]

...ts:12 needsCustomCollisionCallback needsCustomCollisionCallback: boolean = false Inherited from CompoundColliderShape.needsCustomCollisionCallback Defined in laya/d3/physics/shape/ColliderShape.ts:115 Static SHAPEORIENTATION_UPX SHAPEORIENTATION_UPX: number = 0 Inherited from CompoundColliderShape.S...

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