大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0086 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
... onColorPickerSkinLoaded)); } private function onColorPickerSkinLoaded(e:*=null):void { var colorPicker:ColorPicker = new ColorPicker(); colorPicker.selectedColor = "#ff0033"; colorPicker.skin = skin; colorPicker.pos(100, 100); colorPicker.changeHandler = new Handler(this, onChangeColor, [colorPicke...
来源: Laya_示例 发布时间: 20251219
...s s3d;//s3d.instantiate(x.s3ds[id]); } static loads3d(id, path, handler=null):void{ s3d.load(path, Laya.Handler.create(null, function(sp){ x.s3ds[id] = sp; if(handler)handler.loadeds3d(id, sp); })); } 我首先用loads3d方法加载所有的.lh文件,然后用Sprite3D.instantiate方法加...
来源: Laya_社区 发布时间: 20191004
...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...
来源: Laya3.0_api 发布时间: 20231115
...", "#ff0000", "center"); Tween.to(mLabelSprite, { y:mStartY - 200 }, 1000, null,Handler.create(this,playEnd)) } function playEnd() { mLabelSprite.removeSelf(); } })();module laya { import EventData = Laya.EventData; import Skeleton = Laya.Skeleton; import Templet = Laya.Templet; import Sprite = Laya...
来源: Laya_示例 发布时间: 20251219
... public function to(target:*, props:Object, duration:int, ease:Function = null, complete:Handler = null, delay:int = 0, coverBefore:Boolean = false):Tween { return _create(target, props, duration, ease, complete, delay, coverBefore, true, false, true); } 2018...
来源: Laya_社区 发布时间: 20180621
...t = 1):void[override] BaseMaterial _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] BaseMaterial _removeReference(count:int = 1):void[override] BaseMaterial clone():* 克隆。 BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url...
来源: Laya2.0_api 发布时间: 20190513
...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...
来源: Laya3.0_api 发布时间: 20231115
...一个新的 Slider 类示例。 Parameters Default value skin: string = null 皮肤。 Returns Slider Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in la...
来源: Laya3.0_api 发布时间: 20231115
...第二问题,额~~应该是 loadAnimation(url:String, loaded:Handler = null, atlas:String = null):Animation 方法的问题。在进入游戏的时候就加载了动画需要的图集,不过json文件的。按照示例的加载动画,这个时候loadAnimation();我应该传入url就行了吧...
来源: Laya_社区 发布时间: 20180204
...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...
来源: Laya3.0_api 发布时间: 20231115