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

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

301. laya.ui.List [ 77%]

... | Methods | Events Packagelaya.uiClasspublic class ListInheritanceList Box Component Sprite Node EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自定义列表。 Public Properties Hide Inherited Public Propert...

来源: laya_api 发布时间: 20170929

302. 分享一个自己做的游戏公告功能,跑马灯效果 [ 77%]

...rt HTMLDivElement = Laya.HTMLDivElement import Sprite = Laya.Sprite import Box = Laya.Box /** 公告栏 */ export default class Notice extends View { /** 滚动区域 */ hornBox: Box /** html对象 */ html: HTMLDivElement /** 滚动框的宽度 */ defaultX = 1110 /** 动画是否出于播放状态 *...

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

303. 缓动Tween能用在3D物体或者特效上面吗? [ 77%]

...中测试了下Tween(参照文档写的代码),想让示例的那个box(正方体)缓动,但是没有反应,所以提出这个问题,如果可用那么用法是什么? 2018-05-11 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

304. 3D物体检测到碰撞后,被碰撞物被移除的时候过30秒再次出现?并添加到舞台 [ 77%]

...PlayerMove.prototype.onTriggerStay = function (other) { this.tsizex = this.box._components[0]._transformOrientedBoundBox.extents.x; this.tsizez = this.box._components[0]._transformOrientedBoundBox.extents.z; this.osizex = other._transformOrientedBoundBox.extents.x; this.osizez = other._transformOrie...

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

305. laya.d3.math.OrientedBoundBox [ 77%]

...onAll Packages | All Classes | Index | Frames No Frames OrientedBoundBoxProperties | Methods Packagelaya.d3.mathClasspublic class OrientedBoundBoxInheritanceOrientedBoundBox Object OrientedBoundBox 类用于创建OBB包围盒。 Public Properties PropertyDefined By  extents : Vector3每...

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

306. 如何完全删除精灵 并回收内存 [ 76%]

...L = laya.webgl.WebGL; Laya.init(600, 400, WebGL); let container = new Laya.Box() for(let i =0;i<1000;i++){ let t = new Laya.Text() t.text = 'test' t.color = '#ffffff' container.addChild(t) } Laya.stage.addChild(container)新建一个精灵 向其中插入1000个文字 内存快照变为10.5var We...

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

307. Laya.BlinnPhongMaterial.RENDERMODE_TRANSPARENT设置透明度不行了? [ 76%]

...a.BlinnPhongMaterial.RENDERMODE_TRANSPARENT设置透明度不行了? var box: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1))) as Laya.MeshSprite3D;         box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false);         var material:...

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

308. laya.d3.core.scene.bvh.BVHSpatialBox_API3.0 [ 76%]

...ted Externals Only exported Menu Globals "laya/d3/core/scene/bvh/BVHSpatialBox" BVHSpatialBox Class BVHSpatialBox<T> BVH子空间 Type parameters T Hierarchy BVHSpatialBox BVHRenderBox Index Constructors constructor Accessors parent Methods addCell destroy fillCell fillRemove getItemByCameraCu...

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

309. 求助 Uncaught SyntaxError: Unexpected identifier [ 76%]

...); camera.addComponent(CameraMoveScript); // 生成平面,其实是一个box,只不过高度很小,可看成一个平面 var plane = scene.addChild(new MeshSprite3D(new BoxMesh(4,4,0.001))) as MeshSprite3D; var material = new StandardMaterial(); material.albedo = new Vector4(1.3, 1.3, 1.3, 1);...

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

310. 直接加载材质,贴图丢失 [ 76%]

...以出来材质贴图了,需要自己实现其他的。 http://ldc.layabox.com/doc/?nav=zh-ts-4-0-6  看这个链接有介绍共享材质。 你这个项目的用法就得自己照着我给你改的开发了,例子不是你这么写的。 mtest.rar 2018-02-08 0 1 分享 微博 QZONE 微信 Laya...

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