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

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

1. laya.net.LoaderManager [ 100%]

...:* = null):Boolean 派发事件。 EventDispatcher  getRes(url:String):* 获取指定资源地址的资源。 LoaderManager hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检...

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

2. laya.media.SoundManager [ 83%]

... SoundChannel对象,通过此对象可以对声音进行控制,以及获取声音信息。 playSound()method  public static function playSound(url:String, loops:int = 1, complete:Handler = null, soundClass:Class = null, startTime:Number = 0):SoundChannel 播放音效。音效可以同时播放...

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

3. laya.display.Animation [ 82%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...

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

4. laya.net.Loader [ 82%]

...lean 派发事件。 EventDispatcher  getAtlas(url:String):Array[static] 获取指定资源地址的图集地址列表。 Loader  getRes(url:String):*[static] 获取指定资源地址的资源。 Loader  getTypeFromUrl(url:String):String[static] 获取指定资源地址的数据类型。 Loade...

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

5. laya.utils.Utils [ 82%]

...OM元素使用舞台内的某块区域内。 Utils  getGID():int[static] 获取一个全局唯一ID。Utils  getGlobalPosAndScale(sprite:Sprite):Rectangle[static] 计算传入的显示对象 Sprite 的全局坐标系的坐标和缩放值,返回 Rectangle 对象存放计算出的坐标X值、Y...

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

6. laya.display.Scene [ 76%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...

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

7. laya.d3.core.light.DirectionLight [ 70%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node color : Vector3 灯光颜色。 LightSprite destroyed : Boolean = false[只读]是否已经销毁。对象销...

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

8. laya.d3.core.light.PointLight [ 70%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node color : Vector3 灯光颜色。 LightSprite destroyed : Boolean = false[只读]是否已经销毁。对象销...

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

9. laya.d3.core.light.SpotLight [ 70%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node color : Vector3 灯光颜色。 LightSprite destroyed : Boolean = false[只读]是否已经销毁。对象销...

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

10. laya.d3.core.light.LightSprite [ 68%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node  color : Vector3 灯光颜色。 LightSprite destroyed : Boolean = false[只读]是否已经销毁。对象销...

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