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

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

101. viewportPointToRay产生的射线始终有偏差,是为什么? [ 72%]

...te _ray:Ray = new Ray(new Vector3(0, 0, 0), new Vector3(0, 0, 0)); public _start(state:RenderState):void { super._start(state); this._phasorSpriter3D = new PhasorSpriter3D(); this._camera = this._owner.getChildByName("Camera") as Camera; } public _postRenderUpdate(state:RenderState):void { super._up...

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

102. laya.resource.NativeRenderTexture2D_API3.0 [ 72%]

...e _create _end _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start clear destroy end event getData getIsReady gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recycle restore start destroyUnusedResources popRT pushRT Constructors constructor new NativeRende...

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

103. laya.ui.UIEvent [ 71%]

...gmove[static] 定义 dragmove 事件对象的 type 属性值。Event DRAG_START : String = dragstart[static] 定义 dragstart 事件对象的 type 属性值。Event EMPTY : Event[static] 一个空的 Event 对象。用于事件派发中转使用。Event ENABLE_CHANGED : String = enablechanged[sta...

来源: laya_api 发布时间: 20170929

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

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

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

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

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

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

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

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

110. 如何在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