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

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

91. 反射实例中的属性 [ 81%]

...属性 根据API中Laya.ClassUtils.类中的方法,我先注册了,在创建了实例!但我如何获取实例中对象的属性 // 程序入口 class GameMain { constructor() { Laya.init(600, 400); Laya.ClassUtils.regClass("sp", Reflect); Laya.ClassUtils.getInstance('sp').prototype.name } } n...

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

92. laya.d3.resource.Texture2D [ 81%]

...oolean = false, reapeat:Boolean = true, format:int, mipmap:Boolean = true) 创建一个 Texture2D 实例。 Texture2D  getPixels():Uint8Array 返回图片像素。 Texture2D  load(url:String):Texture2D[static] 加载Texture2D。 Texture2D  onAsynLoaded(url:String, data:*, params:Array):void[ov...

来源: laya_api 发布时间: 20170929

93. laya.d3.core.particleShuriKen.module.FrameOverTime [ 81%]

...eFrameOverTime ObjectImplements laya.d3.core.IClone FrameOverTime 类用于创建时间帧。 Public Properties PropertyDefined By  constant : int[read-only] 固定帧。 FrameOverTime  constantMax : int[read-only] 最大固定帧。 FrameOverTime  constantMin : int[read-only] 最小固定帧...

来源: laya_api 发布时间: 20170929

94. laya.d3.core.particleShuriKen.module.FrameOverTime [ 81%]

...eFrameOverTime ObjectImplements laya.d3.core.IClone FrameOverTime 类用于创建时间帧。 Public Properties PropertyDefined By  constant : int[read-only] 固定帧。 FrameOverTime  constantMax : int[read-only] 最大固定帧。 FrameOverTime  constantMin : int[read-only] 最小固定帧...

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

95. 脚本重命名后报Uncaught Can not find class 错误 [ 81%]

...的reg和import也已经删除,依旧报错无法寻到此类。 重新创建该类或改名也没有作用,不知道该怎么解决。有朋友了解么?     附件 : --> 2020-03-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

96. laya.d3.resource.models.BoxMesh [ 81%]

...shInheritanceBoxMesh laya.d3.resource.models.PrimitiveMesh Sphere 类用于创建方体。 Public Properties PropertyDefined By  height : Number 返回高度 BoxMesh  long : Number 返回长度 BoxMesh  width : Number 返回宽度 BoxMeshPublic Methods  MethodDefined By  BoxMesh(long:Numbe...

来源: laya_api 发布时间: 20170929

97. laya.d3.core.Avatar [ 81%]

...vatar laya.resource.ResourceImplements laya.d3.core.IClone Avatar 类用于创建Avatar。 Public Methods  MethodDefined By  Avatar() 创建一个 Avatar 实例。 Avatar  _cloneDatasToAnimator(destAnimator:Animator):void 克隆数据到Avatr。 Avatar  _parse(data:*, propertyParams:Object = ...

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

98. laya.d3.resource.models.SphereMesh [ 81%]

...nheritanceSphereMesh laya.d3.resource.models.PrimitiveMesh Sphere 类用于创建球体。 Public Properties PropertyDefined By  radius : Number 返回半径 SphereMesh  slices : int 获取宽度分段 SphereMesh  stacks : int 获取高度分段 SphereMeshPublic Methods  MethodDefined By  ...

来源: laya_api 发布时间: 20170929

99. laya.d3.resource.models.CylinderMesh [ 81%]

...ceCylinderMesh laya.d3.resource.models.PrimitiveMesh CylinderMesh 类用于创建圆柱体。 Public Properties PropertyDefined By  height : Number 返回高度 CylinderMesh  radius : Number 返回半径 CylinderMesh  slices : int 获取宽度分段 CylinderMeshPublic Methods  MethodDefined ...

来源: laya_api 发布时间: 20170929

100. laya.d3.core.glitter.SplineCurvePositionVelocity [ 81%]

...ineCurvePosition SplineCurvePositionVelocity 类用于通过顶点和速度创建闪光插值。 Public Methods  MethodDefined By  SplineCurvePositionVelocity() 创建一个 SplineCurvePositionVelocity 实例。 SplineCurvePositionVelocity  Init(position0:Vector3, velocity0:Vector3, position1:V...

来源: laya_api 发布时间: 20170929