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

大约有 1,439 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0063 秒)

291. List属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 76%]

# List 组件参考 ## 一、通过LayaAirIDE创建List组件 ​ List 组件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自定义列表。List 列表的每一个列表通常是一样的,也可以使用编辑器自定义不同样式的列表内容项。 ​ List 通...

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

292. VScrollBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 76%]

# VScrollBar 组件参考 ## 一、通过LayaAirIDE创建VScrollBar 组件 ### 1.1 创建VScrollBar ​ VScrollBar 组件是一个垂直方向滚动条组件。 ​ 当数据太多以至于显示区域无法容纳时,最终用户可以使用 VScrollBar 组件控制所显示的数据部分。 ​ ...

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

293. laya.net.URL [ 76%]

...static] 版本号。URLPublic Methods  MethodDefined By  URL(url:String)创建一个新的 URL 实例。URL  formatURL(url:String, base:String = null):String[static] 格式化指定的地址并 返回。 URL  getFileName(url:String):String[static] 获取指定 URL 的文件名。 URLProperty ...

来源: laya_api 发布时间: 20170929

294. laya.d3.math.BoundSphere [ 76%]

...tanceBoundSphere ObjectImplements laya.d3.core.IClone BoundSphere 类用于创建包围球。 Public Properties PropertyDefined By  center : Vector3包围球的中心。BoundSphere  radius : Number包围球的半径。BoundSpherePublic Methods  MethodDefined By  BoundSphere(center:Vector3, r...

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

295. laya.d3.component.AttachPoint [ 76%]

...ritanceAttachPoint Component3D EventDispatcher Object AttachPoint 类用于创建挂点组件。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  attachBones : Vector.<String>挂点骨骼的名称。AttachPoint destroyed : Boolean[read...

来源: laya_api 发布时间: 20170929

296. laya.d3.math.BoundBox_API3.0 [ 76%]

... Globals "laya/d3/math/BoundBox" BoundBox Class BoundBox BoundBox 类用于创建包围盒。 Hierarchy BoundBox Implements IClone Index Constructors constructor Properties max min Methods clone cloneTo getCenter getCorners getExtent setCenterAndExtent toDefault createfromPoints merge Constructors c...

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

297. 内存优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 75%]

...戏性能的重要因素之一。 在游戏中有许多对象在不停的创建与移除,比如角色攻击子弹、特效的创建与移除,NPC的被消灭与刷新等,在创建过程中非常消耗性能,特别是数量多的情况下。 对象池技术能很好解决以上问题,在对...

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

298. laya.d3.math.Viewport [ 75%]

...mathClasspublic class ViewportInheritanceViewport Object Viewport 类用于创建视口。 Public Properties PropertyDefined By  height : Number高度Viewport  maxDepth : Number最大深度Viewport  minDepth : Number最小深度Viewport  width : Number宽度Viewport  x : NumberX轴坐标V...

来源: laya_api 发布时间: 20170929

299. laya.maths.Point [ 75%]

...MethodDefined By  Point(x:Number = 0, y:Number = 0) 根据指定坐标,创建一个新的 Point 对象。 Point  distance(x:Number, y:Number):Number 计算当前点和目标点(x,y)的距离。 Point  normalize():void 标准化向量。 Point  setTo(x:Number, y:Number):Point 将 Point ...

来源: laya_api 发布时间: 20170929

300. laya.components.CommonScript [ 75%]

...CommonScriptInheritanceCommonScript Component Object CommonScript 类用于创建公共脚本类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取...

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