大约有 1,336 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0044 秒)
Laya3.0_api(672) Laya2.0_api(357) laya_api(289) Laya3.0_文档(9) Laya_社区(5) Laya2.0_示例(2) Laya_示例(2)
...c var target:Sprite 被拖动的对象。Method Detailstart()method public function start(target:Sprite, area:Rectangle, hasInertia:Boolean, elasticDistance:Number, elasticBackTime:int, data:*, disableMouseEvent:Boolean, ratio:Number = 0.92):void 开始拖拽。 Parameters target:Sprite — 待拖...
来源: laya_api 发布时间: 20170422
...lavatarpropertyavatar:Avatar 获取avatar。 Implementation public function get avatar():Avatar public function set avatar(value:Avatar):voidcullingModeproperty public var cullingMode:int = 2 裁剪模式speedproperty speed:Number 获取动画的播放速度,1.0为正常播放速度...
来源: Laya2.0_api 发布时间: 20190513
...后是否自动停止背景音乐。 Implementation public static function get autoStopMusic():Boolean public static function set autoStopMusic(value:Boolean):voidmusicMutedproperty musicMuted:Boolean 背景音乐(不包括音效)是否静音。 Implementation public stat...
来源: Laya2.0_api 发布时间: 20190513
...:String 字符串型颜色值。Constructor DetailColor()Constructorpublic function Color(str:*) 根据指定的属性值,创建一个 Color 类的实例。 Parameters str:* — 颜色值。 Method Detailcreate()method public static function create(str:*):Color 根据指定的属性值,创建并...
来源: laya_api 发布时间: 20170422
...否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦...
来源: Laya2.0_api 发布时间: 20190513
...blic var value:Vector3Constructor DetailVector3Keyframe()Constructorpublic function Vector3Keyframe() 创建一个 Vector3Keyframe 实例。 Method DetailcloneTo()methodoverride public function cloneTo(dest:*):void 克隆。 Parameters dest:* — 克隆源。 Mon May 13 2019, 02:40 PM +08:00
来源: Laya2.0_api 发布时间: 20190513
...tailambientColorpropertyambientColor:Vector3 Implementation public function get ambientColor():Vector3 public function set ambientColor(value:Vector3):voidblendproperty blend:int 获取混合方式。 Implementation public function get blend():int public function set b...
来源: Laya2.0_api 发布时间: 20190513
...者为0或为空,则选择后者。 Implementation public static function get clientHeight():NumberclientWidthproperty clientWidth:Number [read-only] 浏览器窗口可视宽度。 通过分析浏览器信息获得。浏览器多个属性值优先级为:window.innerWidth(包含滚动...
来源: laya_api 发布时间: 20170929
...blendpropertyblend:int 获取混合方式。 Implementation public function get blend():int public function set blend(value:int):voidblendDstproperty blendDst:int 获取混合目标。 Implementation public function get blendDst():int public function set blendDst(value...
来源: Laya2.0_api 发布时间: 20190513
...否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦...
来源: Laya2.0_api 发布时间: 20190513