大约有 1,060 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0080 秒)
Laya_社区(730) Laya3.0_api(74) Laya2.0_api(67) laya_api(58) Laya2.0_文档(34) Laya3.0_文档(33) Laya_示例(33) Laya2.0_示例(31)
localToGlobal坐标值被写死了?!!! 对一个sprite本身使用localToGlobal,无论sprite在什么位置,得到的数据都是x = 800,y = 600 DEMO截图见下图 工程为2.x;这个bug在1.x中也存在 附件 : --> testLab.rar 2018-11-20 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20181120
...raphics _graphics: AutoBitmap Inherited from TextInput._graphics Overrides Sprite._graphics Defined in laya/ui/TextInput.ts:118 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in ...
来源: Laya3.0_api 发布时间: 20231115
...为啥不能显示超出部分,fixeheight 为啥不能居中? new Laya.Sprite();绘制图形以后,怎么删除释放资源? dialog可以点击到外部的元素,如何使其外边不能点击 在线急等,发现你们这个编译器一个bug,不能实现负负得正 web端打包发布...
来源: Laya_社区 发布时间: 20240703
...方式存储,可以通过cmds属性访问所有命令流。Graphics是比Sprite更轻量级的对象,合理使用能提高应用性能(比如把大量的节点绘图改为一个节点的Graphics命令集合,能减少大量节点创建消耗)。 See alsolaya.display.Sprite.graphicsPublic Proper...
来源: laya_api 发布时间: 20170929
...per.x super.y 打个比方 假设在LAYA TS 里这么写 class XXX extends Sprite { public set x(value:number) { this._x = value; } public get x():number { return this._x; } } 这样写在WEB环境下固然可行 但是却会导致打包坐标不生效 而在AS3就不一样了 可以直接super.x ...
来源: Laya_社区 发布时间: 20180227
... 持续时间 以毫秒为单位 */ function vibrateScreen(view: Laya.Sprite, time?: number): void { if (vibrateObj.view) { Laya.timer.clearAll(vibrateObj); //说明上一次的动画还没完成 vibrateObj.view.x = vibrateObj.x; ...
来源: Laya_社区 发布时间: 20190401
... Events Packagelaya.ani.boneClasspublic class SkeletonInheritanceSkeleton Sprite Node EventDispatcher Object 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolea...
来源: Laya2.0_api 发布时间: 20190513
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 使用3D时候,Property 'getComponentByType' does not exist on ...
来源: Laya_社区 发布时间: 20181026
...量矩形,示例代码如下: ```javascript (function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; (function() { //初始化舞台 Laya.init(500, 300); drawSomething(); })(); ...
来源: Laya2.0_文档 发布时间: 20210715
...Packagelaya.uiClasspublic class UIGroupInheritanceUIGroup Box UIComponent Sprite Node EventDispatcher ObjectImplements IItemSubclasses RadioGroup, Tab Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类实例。 Group 是 Tab 和 RadioGroup 的基类。 Publ...
来源: Laya2.0_api 发布时间: 20190513