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

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

251. 发布时js文件的引用及压缩问题 [ 87%]

...除吗? <!--封装了html动态排版功能-->     <script type="text/javascript" src="libs/laya.html.js"></script>     <!--粒子类库-->     <script type="text/javascript" src="libs/laya.particle.js"></script>     <!--提供tileMap解析支持-...

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

252. laya.ani.bone.Templet_API3.0 [ 87%]

...s:235 销毁资源,销毁后资源不能恢复。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...

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

253. 3D性能优化 · LayaAir3.4 · 引擎文档 · LAYABOX [ 86%]

...ndom(), 0.3, getRangeRandom()); } } shader代码如下: Shader3D Start { type:Shader3D name:PBRColorBatchShader enableInstancing:true, supportReflectionProbe:true, uniformMap:{ u_AlphaTestValue: { type: Float, default: 0.5, range: [0.0, 1.0] }, u_TilingOffset: { type: Vector4, default: [1, 1, 0, 0...

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

254. laya.net.ResourceVersion [ 86%]

...ertyDefined By  manifest : Object[static] 版本清单ResourceVersion  type : int = 1[static] 当前使用的版本管理类型ResourceVersionPublic Methods  MethodDefined By  addVersionPrefix(originURL:String):String[static] 为加载路径添加版本前缀。 ResourceVersion  enable(mani...

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

255. 微信小游戏报错 the .lh file root type must be Scene [ 86%]

微信小游戏报错 the .lh file root type must be Scene 引擎版本1.7.17beta private screen3DPath: string = "res/layaScene/xiangsuqiche.ls"; public LoadScene3D(): Laya.Scene { console.log("screen#DPath = " + this.screen3DPath); let scene: Laya.Scene = Laya.Scene.load(this.screen3DPath); Laya.s...

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

256. 模板@prop如何使用枚举 [ 86%]

模板@prop如何使用枚举 /** @prop {name:editOptionType, tips:"", type:EditOption, option:"aaa,bbb,true", default:"bbb"}*/ public editOptionType:string = "bbb";这样使用字符串是可以的,但是我现在需要显示自己定义的枚举 enum ENUM_Effect{ null=0, popupEffect = 1, closeE...

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

257. laya.d3.physics.shape.SphereColliderShape_API3.0 [ 86%]

...TATION_UPY SHAPEORIENTATION_UPZ Accessors localOffset localRotation radius type Methods clone cloneTo destroy updateLocalTransformations Constructors constructor new SphereColliderShape(radius?: number): SphereColliderShape Overrides ColliderShape.constructor Defined in laya/d3/physics/shape/SphereC...

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

258. laya.d3.core.render.BaseRender [ 86%]

...ited Public Methods Show Inherited Public Methods MethodDefined By event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:Stri...

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

259. laya.resource.Texture2D_API3.0 [ 86%]

...s:235 销毁资源,销毁后资源不能恢复。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...

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

260. laya.d3.core.particleShuriKen.ShurikenParticleRenderer [ 86%]

...t3D, transfrom:Transform3D):void[override] ShurikenParticleRenderer event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:Stri...

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