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

大约有 843 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0104 秒)

351. laya.ui.HSlider [ 73%]

...ckagelaya.uiClasspublic class HSliderInheritanceHSlider Slider UIComponent Sprite Node EventDispatcher Object 使用 HSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 HSlider 控件采用水平方向。滑块轨道从左向右扩展,而标签位于轨道...

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

352. 加载-销毁Texture使用的图片资源 [ 73%]

...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_示例 发布时间: 20240930

353. laya.ui.Tab [ 73%]

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

354. laya.ui.ViewStack [ 73%]

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

355. laya.display.EffectAnimation [ 73%]

...ass EffectAnimationInheritanceEffectAnimation FrameAnimation AnimationBase Sprite Node EventDispatcher Object 动效模板。用于为指定目标对象添加动画效果。每个动效有唯一的目标对象,而同一个对象可以添加多个动效。 当一个动效开始播放时,其他动...

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

356. 请问怎么设置父节点里的子节点的点击事件 [ 73%]

...件 求指点3d射线碰撞和UI点击穿透的问题 关于遍历产生的sprite的点击事件,急,大神帮看哈 如何设置Sprite的宽高和点击区域? 救命!canvas定位后 点击区域偏移,求大大们解答 使用钢体设置防穿后仍有几率会穿透 打包android版本...

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

357. iphoneX 用微信打开游戏,,做新手引导 抠图有问题,,, [ 73%]

...,   //绘制一个蓝色方块,不被抠图 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

358. 在开启webgl模式下,每次运行texture类的getPixels方法内存都会增加 [ 73%]

...加 我使用的版本是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

359. TextInput 在panle里滚动后输入位置错乱,求解 [ 73%]

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

360. laya.ui.RadioGroup [ 73%]

....uiClasspublic class RadioGroupInheritanceRadioGroup UIGroup Box Component Sprite Node EventDispatcher Object RadioGroup 控件定义一组 Radio 控件,这些控件相互排斥; 因此,用户每次只能选择一个 Radio 控件。 Public Properties Hide Inherited Public Properties Show Inher...

来源: laya_api 发布时间: 20170929