大约有 848 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0070 秒)
Laya_社区(527) Laya3.0_api(65) Laya2.0_api(62) laya_api(57) Laya2.0_示例(44) Laya_示例(41) Laya2.0_文档(30) Laya3.0_文档(22)
...nts Packagelaya.uiClasspublic class DialogManagerInheritanceDialogManager Sprite Node EventDispatcher Object DialogManager 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理。 任意对话框打开和关闭,都会出发管理类的open和close事件 可以通...
来源: Laya2.0_api 发布时间: 20190513
...ckagelaya.uiClasspublic class HSliderInheritanceHSlider Slider UIComponent Sprite Node EventDispatcher Object 使用 HSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 HSlider 控件采用水平方向。滑块轨道从左向右扩展,而标签位于轨道...
来源: Laya2.0_api 发布时间: 20190513
...Laya.stage.bgColor = "#232628"; Stat.show(); this.init(); } init() { const Sprite = Laya.Sprite, Animation = Laya.Animation, Text = Laya.Text, Event = Laya.Event; // 创建背景 this.spBg = Sprite.fromImage(PathBg); Laya.stage.addChild(this.spBg); // 创建动画 this.aniFly = new Animation(); this...
来源: Laya2.0_示例 发布时间: 20250221
...s Packagelaya.uiClasspublic class TabInheritanceTab UIGroup Box Component Sprite Node EventDispatcher Object Tab 组件用来定义选项卡按钮组。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默...
来源: laya_api 发布时间: 20170929
...kagelaya.uiClasspublic class ViewStackInheritanceViewStack Box UIComponent Sprite Node EventDispatcher ObjectImplements IItem ViewStack 类用于视图堆栈类,用于视图的显示等设置处理。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefi...
来源: Laya2.0_api 发布时间: 20190513
...ass EffectAnimationInheritanceEffectAnimation FrameAnimation AnimationBase Sprite Node EventDispatcher Object 动效模板。用于为指定目标对象添加动画效果。每个动效有唯一的目标对象,而同一个对象可以添加多个动效。 当一个动效开始播放时,其他动...
来源: Laya2.0_api 发布时间: 20190513
...件 求指点3d射线碰撞和UI点击穿透的问题 关于遍历产生的sprite的点击事件,急,大神帮看哈 如何设置Sprite的宽高和点击区域? 救命!canvas定位后 点击区域偏移,求大大们解答 使用钢体设置防穿后仍有几率会穿透 打包android版本...
来源: Laya_社区 发布时间: 20170830
..., //绘制一个蓝色方块,不被抠图 this.gameContainer = new Sprite(); Laya.stage.addChild(this.gameContainer); // 引导所在容器 this.guideContainer = new Sprite(); // 设置容器为画布缓存 this.guideContainer.cacheAs = "bitmap"; Laya.stage.addChild(this.guideContainer); this...
来源: Laya_社区 发布时间: 20180116
...加 我使用的版本是1.7.12 测试代码如下:module Main { import Sprite = Laya.Sprite import Texture = Laya.Texture import Handler = Laya.Handler export class MaskDemo { private Res: string; private img: Laya.Image; constructor() { //Laya.init(400, 640, Laya.WebGL); //设置舞台背景色 ...
来源: Laya_社区 发布时间: 20171211
...: package { import laya.display.Input; import laya.display.Sprite; import laya.display.Stage; import laya.ui.Panel; import laya.utils.Browser; import laya.webgl.WebGL; public class Yj_Customer { private var panel:Panel; ...
来源: Laya_社区 发布时间: 20180612