大约有 10 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0041 秒)
...乐用mp3类型,音效用wav或者mp3类型(如果打包为app,音效只能用wav格式)。 详细教程及声音格式请参考:http://ldc.layabox.com/doc/?nav=ch-as-1-7-0 Public Properties PropertyDefined By autoReleaseSound : Boolean = true[static] 音效播放后自动删除。 Sou...
来源: laya_api 发布时间: 20170929
....deviceClasspublic class ShakeInheritanceShake EventDispatcher Object Shake只能在支持此操作的设备上有效。 Public Properties PropertyDefined By instance : Shake[static] [read-only] ShakePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By ...
来源: laya_api 发布时间: 20170929
...样。 Texture loaded : Boolean[read-only] 表示是否加载成功,只能表示初次载入成功(通常包含下载和载入),并不能完全表示资源是否可立即使用(资源管理机制释放影响等)。 Texture offsetX : Number = 0沿 X 轴偏移量。Texture offsetY :...
来源: laya_api 发布时间: 20170929
...OADED 事件来判断资源是否已经加载完毕。 注意:cache参数只能对文件后缀为atlas的资源进行缓存控制,其他资源会忽略缓存,强制重新加载。 LoaderManager event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getRes(url:String):* ...
来源: laya_api 发布时间: 20170929
...效,staticCache=true时,子对象变化时不会自动更新缓存,只能通过调用reCache方法手动刷新。Sprite stopEvent : String[write-only] 设置触发停止的事件 SoundNode target : Sprite[write-only] 设置控制播放的对象 SoundNode texture : Texture设置一个Tex...
来源: laya_api 发布时间: 20170422
...效,staticCache=true时,子对象变化时不会自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprit...
来源: laya_api 发布时间: 20170422
...效,staticCache=true时,子对象变化时不会自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprit...
来源: laya_api 发布时间: 20170422
...义一组 Radio 控件,这些控件相互排斥; 因此,用户每次只能选择一个 Radio 控件。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值...
来源: laya_api 发布时间: 20170929
...户可在一组互相排斥的选择中做出一种选择。 用户一次只能选择 Radio 组中的一个成员。选择未选中的组成员将取消选择该组中当前所选的 Radio 控件。 See alsolaya.ui.RadioGroupPublic Properties Hide Inherited Public Properties Show Inherited Public Pr...
来源: laya_api 发布时间: 20170929
...效,staticCache=true时,子对象变化时不会自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprit...
来源: laya_api 发布时间: 20170422