大约有 1,028 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0054 秒)
Laya_社区(828) Laya2.0_文档(78) Laya3.0_文档(36) laya_api(24) Laya3.0_api(24) Laya2.0_api(21) Laya2.0_示例(10) Laya_示例(7)
... | 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
...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
...中测试了下Tween(参照文档写的代码),想让示例的那个box(正方体)缓动,但是没有反应,所以提出这个问题,如果可用那么用法是什么? 2018-05-11 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20180511
...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
...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
...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
...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
...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
...); 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
...以出来材质贴图了,需要自己实现其他的。 http://ldc.layabox.com/doc/?nav=zh-ts-4-0-6 看这个链接有介绍共享材质。 你这个项目的用法就得自己照着我给你改的开发了,例子不是你这么写的。 mtest.rar 2018-02-08 0 1 分享 微博 QZONE 微信 Laya...
来源: Laya_社区 发布时间: 20180208