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

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

101. laya.d3.component.physics.Collider [ 71%]

...wner : ComponentNode[read-only] 获取所属Sprite3D节点。 Component3D started : Boolean是否已执行start函数。Component3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  Collider()Collider event(type:String, data:* = null):Boolean 派发事...

来源: laya_api 发布时间: 20170929

102. laya.physics.Physics_API3.0 [ 71%]

... getContactCount getJointCount hasListener off offAll offAllCaller on once start stop updatePhysicsByWorldRoot enable Constructors constructor new Physics(): Physics Defined in laya/physics/Physics.ts:39 Returns Physics Properties box2d box2d: any = (<any>window).box2d Defined in laya/physics/...

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

103. ios升级到15.4后游戏会一直闪屏,可重现demo见附件 [ 71%]

...以这样进行下处理,在laya.core.js的_flushToTarget方法的target.start之前进行下gl.flush或者gl.finish处理,修改如下:   2022-03-30 2 1 分享 微博 QZONE 微信 Laya_Yan 赞同来自: 我们查看一下,有结果及时联系您 2022-03-19 0 19 分享 微博 QZONE 微信 ...

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

104. laya.d3.component.AttachPoint [ 71%]

...wner : ComponentNode[read-only] 获取所属Sprite3D节点。 Component3D started : Boolean是否已执行start函数。Component3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  AttachPoint() 创建一个新的 AttachPoint 实例。 AttachPoint even...

来源: laya_api 发布时间: 20170929

105. 请问特效播放的速率可以自定义吗? [ 71%]

...时间 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 请问下加载TFF字体要怎么加载呢? 请问layaair2.0-js 怎么用程序在list中添加多元素的item 问题状态 ...

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

106. protobuf TS中使用 [ 71%]

...使用proto中定义的enum? type.proto enum e_server_msg_type { e_mst_start_c2g = 300; e_mst_c2g_heartbeat = 301; //心跳协议 e_mst_c2g_select_gate = 302; //选择网关 e_mst_start_g2c = 400; e_mst_g2c_select_gate_result = 401;//选择网关返回 e_mst_g2c_send_msglist = 402;//发送协议...

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

107. 如何在laya中直接使用proto中定义的enum? [ 71%]

...使用proto中定义的enum? type.proto enum e_server_msg_type { e_mst_start_c2g = 300; e_mst_c2g_heartbeat = 301; //心跳协议 e_mst_c2g_select_gate = 302; //选择网关 e_mst_start_g2c = 400; e_mst_g2c_select_gate_result = 401;//选择网关返回 e_mst_g2c_send_msglist = 402;//发送协议...

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

108. 2D网格渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 70%]

...一个渐变的效果, (图2-4) 此shader的代码如下, Shader3D Start { type:Shader3D, name:baseRender2D, enableInstancing:true, supportReflectionProbe:true, shaderType:2, uniformMap:{ u_gradientDirection: {type: Vector2, default:[1,1]}, // 渐变方向 u_gradientStartColor: {type:Vector4...

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

109. 按钮拖动的bug [ 70%]

按钮拖动的bug startDrag这接口有这样一个参数说明: * @param elasticDistance (可选)橡皮筋效果的距离值,0为无橡皮筋效果,默认为0,可选。 但事实上,不管是不是显式写上默认值0,就都拖不了了。研究发现,这根本就是能拖动...

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

110. 编译时报错 [ 70%]

...:15] Using gulpfile D:\workspace\Test_2_5_1\.laya\compile.js   [16:24:15] Starting 'layacompile'...   [16:24:16] Finished 'layacompile' after 634 ms   [16:24:16] Starting 'compile'...   [16:24:16] 'compile' errored after 23 ms [16:24:16] Error: Invalid number at error (D:\tools\LayaAirIDE_beta2....

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