大约有 3,990 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0065 秒)
Laya_社区(2836) Laya2.0_文档(369) Laya2.0_api(225) laya_api(169) Laya_示例(157) Laya2.0_示例(117) Laya3.0_api(62) Laya3.0_文档(55)
...oadComplete));//加载资源。 } private function onLoadComplete():void { var textArea:TextArea = new TextArea("这个一个TextArea实例。");//创建一个 TextArea 类的实例对象 textArea 。 textArea.skin = "resource/ui/input.png";//设置 textArea 的皮肤。 textArea.sizeGrid = "4,4,4,4...
来源: Laya3.0_api 发布时间: 20231115
...动到达标签时会调度。TimeLineProperty Detailscalepropertypublic var scale:Number = 1 缩放动画播放的速度。totalproperty total:int [read-only] 得到总帧数。 Implementation public function get total():intMethod DetailaddLabel()method public function addLabel(label:St...
来源: Laya2.0_api 发布时间: 20190513
... */ __proto._checkCanvasEnable=function(){ var tEnable=this._cacheStyle.needEnableCanvasRender(); this._getCacheStyle().enableCanvasRender=tEnable; if (tEnable){ if (this._cacheStyle.needBitmapCache()){ ...
来源: Laya_社区 发布时间: 20190612
...加载成功,导致的图片不显示 170*****199 • 2018-05-25 17:04 var loadData = [ { "url": 'res/atlas/main.atlas', "type":Laya.loader.ATLAS }, { "url": 'res/atlas/newUser.atlas', "type":Laya.loader.ATLAS }, { 'url': "res/atlas/role_skin.atlas"...
来源: Laya_社区 发布时间: 20180525
... public function set progress(value:Number):voidupdateproperty public var update:Handler更新回调,缓动数值发生变化时,回调变化的值Method Detailclear()method public function clear():void 停止并清理当前缓动。 clear()method public static function clear(tween:Tween):...
来源: laya_api 发布时间: 20170929
...oundChannel来控制播放、停止、暂停。具体代码如下所示: var soundC:SoundChannel = SoundManager.playSound("url"); //播放 soundC.play(); //停止 soundC.stop(); //暂停 soundC.pause(); 2018-03-13 0 1 分享 微博 QZONE 微信 qian 赞同来自: 3D插件常见报错 one 这...
来源: Laya_社区 发布时间: 20180308
...1176行window.addEventListener("resize",function(){ setTimeout(function(){ var orientation=Browser.window.orientation; if (orientation !=null && orientation !=_$this._previousOrientation && _me._isInputting()){ Input["inputElement"].target.focus=false; } _$this._previousOrientation=o...
来源: Laya_社区 发布时间: 20190515
... public function get activeInHierarchy():Booleandestroyedproperty public var destroyed:Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。displayedInStageproperty displayedInStage:Boolean [read-only] 表示是否在显示列表中显示。 Implementation publi...
来源: Laya2.0_api 发布时间: 20190513
...CREEN_VERTICAL;//自动竖屏 //创建舞台,默认背景色是黑色的 var txt = new Laya.Text(); //设置文本内容 txt.text = "Hello Layabox"; //设置文本颜色 txt.color = "#FF0000"; //设置文本字体大小,单位是像素 txt.fontSize = 66; //设置字体描边 ...
来源: Laya_社区 发布时间: 20180715
...。 2018-03-27 0 1 分享 微博 QZONE 微信 颜颜粑粑 赞同来自: var particleSprite3D:Sprite3D = scene.addChild(Sprite3D.load("...")) as Sprite3D; particleSprite3D.transform.position = new Laya.Vector3(100,0,0); 这样写 无法移动例子效果? 2018-05-09 0 6 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20161219