• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 260 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0060 秒)

191. laya2.3图集含空白裁切后,锚点旋转bug,demo重现 [ 62%]

...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

192. laya.ani.bone.Skeleton [ 62%]

... 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

193. laya.ui.UIComponent [ 62%]

... 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

194. laya.display.Animation [ 62%]

...displayClasspublic class AnimationInheritanceAnimation AnimationPlayerBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控制接口。 本类使用了动画模版缓存池,它以一定的内存开销来节省CPU开销,当...

来源: laya_api 发布时间: 20170929

195. laya.ui.Slider [ 62%]

...vents Packagelaya.uiClasspublic class SliderInheritanceSlider UIComponent Sprite Node EventDispatcher ObjectSubclasses HSlider, VSlider 使用 Slider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 滑块的当前值由滑块端点(对应于滑块的最小值...

来源: Laya2.0_api 发布时间: 20190513

196. Laya的Animation图集一定要用json文件的方式吗? [ 62%]

...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

197. scrollRect 矩形开始为负显示有问题 [ 61%]

scrollRect 矩形开始为负显示有问题 设置sprite的scrollRect可以剪裁效果, 如果scrollRect开始点为负数显示的效果和预想的不一样 2018-10-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...

来源: Laya_社区 发布时间: 20181016

198. laya.display.Stage [ 61%]

...s | Constants Packagelaya.displayClasspublic class StageInheritanceStage Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage 单例访问。 Stage提供几种适配模式,不同的适配模式会产生不...

来源: laya_api 发布时间: 20170929

199. laya.ui.TextArea [ 61%]

...iClasspublic class TextAreaInheritanceTextArea TextInput Label UIComponent Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获...

来源: Laya2.0_api 发布时间: 20190513

200. laya.ui.Panel [ 61%]

...nts Packagelaya.uiClasspublic class PanelInheritancePanel Box UIComponent Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node ...

来源: Laya2.0_api 发布时间: 20190513