大约有 264 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0067 秒)
...能点击两次 循环依赖不能运行 Circular dependency: 如何设置Sprite的宽高和点击区域? 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 构建iOS工程后,真机上运行显示“网络异常,请检查您的网络或与开发商联...
来源: Laya_社区 发布时间: 20161226
... 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
...者消失,测试代码如下 export default class ClipView extends Laya.Sprite { constructor() { super(); this.init(); } init() { let bg = new Laya.Sprite(); bg.graphics.drawRect(0, 0, 500, 500, '#aaa'); this.addChild(bg); this.panel = new Laya.Panel(); this.panel.width = 500; this.panel.height = ...
来源: Laya_社区 发布时间: 20210427
...ya.Texture = Laya.loader.getRes("test2.png"); var sp3:Laya.Sprite = new Laya.Sprite(); sp3.texture = Laya.Texture.create(tx3,0,0,315,315,134,134,582,582); sp3.pivot(315/2,315/2);//锚点使用实际裁切后的中心反而是对的,这按理是bug...
来源: Laya_社区 发布时间: 20191112
... Events Packagelaya.uiClasspublic class UIComponentInheritanceUIComponent Sprite Node EventDispatcher ObjectSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar, ScrollBar, Slider, TipManager, WXOpenDataViewer Component 是ui控件类的基类。 生命周期:preinitiali...
来源: Laya2.0_api 发布时间: 20190513
...displayClasspublic class AnimationInheritanceAnimation AnimationPlayerBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控制接口。 本类使用了动画模版缓存池,它以一定的内存开销来节省CPU开销,当...
来源: laya_api 发布时间: 20170929
...vents Packagelaya.uiClasspublic class SliderInheritanceSlider UIComponent Sprite Node EventDispatcher ObjectSubclasses HSlider, VSlider 使用 Slider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 滑块的当前值由滑块端点(对应于滑块的最小值...
来源: Laya2.0_api 发布时间: 20190513
...a • 2017-03-23 20:52 但这种方式,动画都是单张图了,不能 Sprites 了。 cuixueying • 2017-03-23 20:55 你描述下你的具体需求吧,我们看下什么问题,你加载json也不是sprite啊,也是Aniamtion skylucha • 2017-03-23 21:08 @cuixueying: 我有一张动画的...
来源: Laya_社区 发布时间: 20170321
scrollRect 矩形开始为负显示有问题 设置sprite的scrollRect可以剪裁效果, 如果scrollRect开始点为负数显示的效果和预想的不一样 2018-10-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...
来源: Laya_社区 发布时间: 20181016
...s | Constants Packagelaya.displayClasspublic class StageInheritanceStage Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage 单例访问。 Stage提供几种适配模式,不同的适配模式会产生不...
来源: laya_api 发布时间: 20170929