大约有 380 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0046 秒)
Laya_社区(254) Laya2.0_文档(40) Laya3.0_api(21) Laya3.0_文档(20) laya_api(15) Laya2.0_api(13) Laya2.0_示例(10) Laya_示例(7)
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/scene/bvh/BVHSpatialBox" BVHSpatialBox Class BVHSpatialBox<T> BVH子空间 Type parameters T Hierarchy BVHSpatialBox ...
来源: Laya3.0_api 发布时间: 20231115
...系如下: 代码如下:// 程序入口 class GameMain{ constructor() { Laya.init(1280,720,Laya.WebGL);//只有webGL才会有问题 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.alignV = Laya.Stage.ALIGN_TOP; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.loader.load([{url:"res/at...
来源: Laya_社区 发布时间: 20170829
2.0如何射线检测 现在2.0的射线检测函数rayCast之前是Laya.Physics.rayCast现在已经是Laya.PhysicsSimulation的成员函数,已经不是静态函数了,但是 new Laya.PhysicsSimulation(new Laya.PhysicsSettings());会报错,请问如何射线检测? 附件 : --> 2019-05-05 ...
来源: Laya_社区 发布时间: 20190505
Laya.Handler.create和new Laya.Handler有啥区别 this.sList.mouseHandler = Laya.Handler.create(this, this.onMouse);//鼠标响应事件 this.sList.mouseHandler = new Laya.Handler(this, this.onMouse) ; // 鼠标事件响应. 2017-04-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20170425
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/BoundFrustum" BoundFrustum Class BoundFrustum BoundFrustum 类用于创建锥截体。 Hierarchy BoundFrustum Implements IC...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/scene/BVHSceneRenderManager/BVHRenderSpatialBox" BVHRenderBox Class BVHRenderBox<T> Type parameters T Hierarchy BVHSp...
来源: Laya3.0_api 发布时间: 20231115
...QZONE 微信 wudi199553 赞同来自: var spointLight = scene.addChild(new Laya.SpointLight()); spointLight.ambientColor = new Laya.Vector3(0.8, 0.8, 0.8); spointLight.specularColor = new Laya.Vector3(2.0, 2.0, 0.9); spointLight.diffuseColor = new Laya.Vector3(1, 1, 1); spointLight.transform.transla...
来源: Laya_社区 发布时间: 20171106
...gal constructor",请问这个该怎么处理? class ChatLineView extends Laya.Box{ textfield : any = null; constructor(){ super(); // this.initLineView(); } public initLineView (data) : void { this.pos(0,0); console.log(this.textfield); if (this.textfield == null) { var stextfield = new HTMLDivEle...
来源: Laya_社区 发布时间: 20180709
[laya3d 2.0.0beta2]destroy带有PhysicsCollider组件的Sprite3D对象时报错 laya3d示例项目,在box上附加一个PhysicsCollider组件,然后调用box的destroy函数,报错。报错信息如下: 工程见附件。 附件 : --> crash.zip 2018-09-26 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20180926
...上查说是自己写一个继承与box2d b2ContactListener的类,可是laya2.0里的box2d也没有b2ContactListener类。希望能帮忙解惑一下,非常感谢。 2019-03-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20190305