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

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

471. laya.ui.Image [ 56%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ImageProperties | Methods | Events Packagelaya.uiClasspublic class ImageInheritanceImage UIComponent Sprite Node EventDispatcher ObjectSubclasses AdvImage Image 类是用于表示位图图像或绘制图形的显示对...

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

472. 材质-BlinnPhong材质加载 [ 56%]

... this, function () { layaMonkey.transform.rotate(this.rotation, false); });class BlinnPhongMaterialLoad { private rotation:Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NON...

来源: Laya_示例 发布时间: 20240930

473. 主类引用了laya.utils.Mouse这个类,报错:所访问的属性 Mouse 可能未定义 [ 56%]

...义啊,我在想自己建个空的类就好了 package flash.ui { public class Mouse { public function Mouse() { } public static function hide():void { } public static function show():void { } } } cuixueying • 2017-03-17 19:46 有没有例子,上传一个,我们看下!

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

474. Button属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 56%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Button)。 ### 1.2.使用LayaAirIDE创建Button 使用LayaAirIDE创建Button更加简单,通过IDE的可视化操作,完全不需要程序基础,即可实现组件的创建与布局,也是推荐使用的...

来源: Laya2.0_文档 发布时间: 20210714

475. laya.ui.VSlider [ 56%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VSliderProperties | Methods | Events Packagelaya.uiClasspublic class VSliderInheritanceVSlider Slider UIComponent Sprite Node EventDispatcher Object 使用 VSlider 控件,用户可以通过在滑块轨道的终点之...

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

476. 2D物理-仿生机器人 [ 56%]

...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Physics_Physics_Strandbeests { constructor() { this.scale = 2.5; this.pos = [500, 400]; this.m_offset = [0, -80 * this.scale]; this.pivot = [0, 8 * this.scale]; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, ...

来源: Laya2.0_示例 发布时间: 20240930

477. 分享:IDE使用SWF动画的销毁与反复创建 [ 56%]

...ort laya.utils.Handler;     import view.TestView;          public class LayaUISample {                  public function LayaUISample() {             //初始化引擎             Laya.init(600, 400);             start();         }         p...

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

478. 有没方法可以读到图集里面的文件大小信息? [ 56%]

... qian 赞同来自: http://layaair.ldc.layabox.com/api/?category=Core&class=laya.ui.Image 看api 2018-01-29 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 layafans 相关问题 两个对象new了一个相同的对象,调用第一...

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

479. 分包项目, 加载js时报错 [ 56%]

...rt laya.ui.View;     /*[COMPILER OPTIONS:ForcedCompile]*/     public class loading100 extends Box     {         public function loading100()         {             var txt:Text = new Text();             //设置文本内容             txt.text = "Hello...

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

480. 2D物理-复合碰撞器 [ 55%]

...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Physics_Physics_Tumbler { constructor() { this.count = 0; this.totalBox = 200; Laya.Config.isAntialias = true; Laya.Laya.init(Laya.Browser.clientWidth, Laya.Browser.clientHeight, Laya.WebGL); Laya.Stat.show(); Laya.Phys...

来源: Laya2.0_示例 发布时间: 20240930