大约有 1,460 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0081 秒)
Laya3.0_api(398) Laya_社区(300) Laya2.0_api(251) laya_api(215) Laya2.0_文档(167) Laya3.0_文档(90) Laya2.0_示例(22) Laya_示例(17)
...属性 根据API中Laya.ClassUtils.类中的方法,我先注册了,在创建了实例!但我如何获取实例中对象的属性 // 程序入口 class GameMain { constructor() { Laya.init(600, 400); Laya.ClassUtils.regClass("sp", Reflect); Laya.ClassUtils.getInstance('sp').prototype.name } } n...
来源: Laya_社区 发布时间: 20181029
...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
...的reg和import也已经删除,依旧报错无法寻到此类。 重新创建该类或改名也没有作用,不知道该怎么解决。有朋友了解么? 附件 : --> 2020-03-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20200303
...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
...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
...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
...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
...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
...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
... Globals "laya/d3/text/TextMesh" TextMesh Class TextMesh TextMesh 类用于创建文本网格。 Hierarchy TextMesh Index Constructors constructor Accessors color fontSize text Constructors constructor new TextMesh(): TextMesh Defined in laya/d3/text/TextMesh.ts:58 创建一个新的 TextMesh 实例...
来源: Laya3.0_api 发布时间: 20231115