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

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

361. LIST renderHandler的ITEM高度自定义后,设置content变更其内部容器大小不生效 [ 66%]

...;     if (data) {         _cell.layer_one.visible = (-1 == data.task_id);         _cell.layer_two.visible = !_cell.layer_one.visible;         _cell.height = (-1 == data.task_id ? 80 : 152);         if (0 == data.my_index) {// my_index是代码是自定义的下标值          ...

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

362. httpRequest send返回Request failed Status:0 [ 66%]

...", "arraybuffer"); } } GameMain.prototype.completeHandler = function (URL, id, data) { // private completeHandler(data: Object, URL: string, id: number): void { //加载完成返回的data是arraybuffer; //......这里处理我们加密的图片数据,假设我们的图片加密数据是在图...

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

363. laya.map.TiledMap_API3.0 [ 66%]

...图(例如:地表层,植被层,建筑层) 每层又以分块(GridSprite)来处理显示对象,只显示在视口区域的区 每块又包括N*N个格子(tile) 格子类型又分为动画格子跟图片格子两种 author ... Hierarchy TiledMap Index Constructors constructor Propertie...

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

364. laya.physics.joint.RevoluteJoint [ 65%]

...个物体共享一个锚点,两个物体相对旋转 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  anchor : Array[首次设置有效]关节的链接点,是相对于自身刚体的左上角位置偏移RevoluteJoint  collideConnected :...

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

365. laya.d3.core.trail.TrailRenderer [ 65%]

... Object TrailRenderer 类用于创建拖尾渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By bounds : Bounds[read-only] 获取包围盒,只读,不允许修改其值。 BaseRender castShadow : Boolean 获取是否产生阴影。 Bas...

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

366. laya.d3.core.Sprite3D [ 65%]

...leSprite3D, Terrain Sprite3D 类用于实现3D精灵。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node destroyed...

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

367. laya.d3.core.Layer [ 65%]

...活层。Layer  _layerList : Array[static] Layer列表。Layer  _uniqueIDCounter : int = 1[static] 唯一标识ID计数器。Layer  _visibleLayers : int[static] Layer显示层。LayerPublic Methods  MethodDefined By  Layer() 创建一个 Layer 实例。 Layer  getLayerByMask(mask:int):Lay...

来源: laya_api 发布时间: 20170929

368. 静态碰撞器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 65%]

静态碰撞器1、碰撞器基类属性1.1 碰撞形状 colliderShape1.2 所属碰撞组 collisionGroup1.3 可碰撞组 canCollideWith1.4 恢复系数 restitution1.5 摩擦力 friction1.6 滚动摩擦力 rollingFriction2、静态碰撞器属性2.1 是否为触发器 isTrigger3、关联文档《3D...

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

369. laya.device.geolocation.Geolocation_API3.0 [ 65%]

...位置可用时才会返回信息。 Methods Static clearWatch clearWatch(id: number): void Defined in laya/device/geolocation/Geolocation.ts:96 移除watchPosition安装的指定处理器。 Parameters id: number Returns void Static getCurrentPosition getCurrentPosition(onSuccess: Handler, onError?...

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

370. 用Geolocation获取地理位置信息(TypeScript-LayaAir基础篇(TS)-硬件设备相关) [ 65%]

... // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.accuracy + 'm'); if(info.altitude != null) trace('海拔:' + info.altitude + 'm' + (info.altitudeAccuracy != null ? (',精...

来源: Laya2.0_文档 发布时间: 20210715