大约有 314 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
Laya_社区(78) Laya3.0_api(62) Laya2.0_api(58) laya_api(54) Laya2.0_文档(41) Laya3.0_文档(19) Laya2.0_示例(1) Laya_示例(1)
...如按钮),可以对整个容器设置cacheAs属性,能大量减少Sprite的数量,显著提高性能。如果有动态内容,最好和静态内容分开,以便只缓存静态内容。 问题: 第二点提到的(如果有动态内容,最好和静态内容分开,以便只缓存静...
来源: Laya_社区 发布时间: 20170525
BoxCollider 不会随着父节点 翻转 scaleX=-1 给他Sprite 添加了 BoxCollider,在场景编辑器里设置了Sprite scaleX为-1,编辑器里显示Sprite和BoxCollider都有翻转 但在运行效果里BoxCollider却没有翻转? 2018-10-30 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20181030
...ackagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box Component Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 子对象对齐方式。LayoutB...
来源: laya_api 发布时间: 20170929
...nts Packagelaya.uiClasspublic class DialogManagerInheritanceDialogManager Sprite Node EventDispatcher Object DialogManager 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理。 任意对话框打开和关闭,都会出发管理类的open和close事件 可以通...
来源: laya_api 发布时间: 20170929
...s | Constants Packagelaya.displayClasspublic class StageInheritanceStage Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage 单例访问。 Stage提供几种适配模式,不同的适配模式会产生不...
来源: laya_api 发布时间: 20170929
... Events Packagelaya.uiClasspublic class ViewInheritanceView Box Component Sprite Node EventDispatcher ObjectSubclasses Dialog View 是一个视图类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默...
来源: laya_api 发布时间: 20170929
...如按钮),可以对整个容器设置cacheAs属性,能大量减少Sprite的数量,显著提高性能。如果有动态内容,最好和静态内容分开,以便只缓存静态内容。 按钮是有状态的,缓存后,当鼠标移入移除的时候不会额外消耗性能吗,这个...
来源: Laya_社区 发布时间: 20180111
...Events Packagelaya.ani.swfClasspublic class MovieClipInheritanceMovieClip Sprite Node EventDispatcher Object MovieClip 用于播放经过工具处理后的 swf 动画。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度...
来源: laya_api 发布时间: 20170929
...Packagelaya.uiClasspublic class VSliderInheritanceVSlider Slider Component Sprite Node EventDispatcher Object 使用 VSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 VSlider 控件采用垂直方向。滑块轨道从下往上扩展,而标签位于轨道...
来源: laya_api 发布时间: 20170929
...办法降DrawCall package { import laya.display.Node; import laya.display.Sprite; import laya.maths.Rectangle; import laya.ui.Dialog; import laya.ui.Image; import laya.utils.Handler; import ui.TestDialogUI; import ui.TestViewUI; public class TestView extends TestViewUI { private var PATH_LEN:Number ...
来源: Laya_社区 发布时间: 20171129