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

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

191. laya.ui.TextInput_API3.0 [ 44%]

...ge.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textInput:TextInput = new TextInput("这是一个TextInput实例。");//创建一个 TextInput ...

来源: Laya3.0_api 发布时间: 20231115

192. laya.ui.TextArea_API3.0 [ 44%]

...ge.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textArea:TextArea = new TextArea("这个一个TextArea实例。");//创建一个 TextArea 类的...

来源: Laya3.0_api 发布时间: 20231115

193. 动画不显示 [ 44%]

...import laya.net.Loader;     import laya.ui.TextArea;     import laya.resource.Texture;     import laya.maths.Point;     import laya.utils.Tween;     import laya.d3.resource.models.PrimitiveMesh;     import laya.debug.DebugPanel;     import laya.debug.DebugTool;     import lay...

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

194. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...; Laya.stage.addChild(sp2); // 加载并显示一个图片2 sp2.loadImage("resources/layabox.png", null); sp2.pos(200, 190); // 设置blendMode sp2.blendMode = "lighter"; 我们来看看运行结果: (图3-4) 与图3-3对比可以看到,使用“lighter”的blendMode后,sp2图片的颜色...

来源: Laya3.0_文档 发布时间: 20251010

195. laya.ui.Clip_API3.0 [ 41%]

...景颜色。 onInit(); } private function onInit():void { clip = new Clip("resource/ui/clip_num.png", 10, 1);//创建一个 Clip 类的实例对象 clip ,传入它的皮肤skin和横向分割数量、竖向分割数量。 clip.autoPlay = true;//设置 clip 动画自动播放。 clip.interval = 100;/...

来源: Laya3.0_api 发布时间: 20231115

196. laya.d3.core.scene.Scene [ 40%]

...nheritanceScene Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource BaseScene 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示...

来源: laya_api 发布时间: 20170929

197. laya.ui.Radio_API3.0 [ 40%]

...age.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete)); } private function onLoadComplete():void { trace("资源加载完成!"); var button:Button = new Button("resource/ui/button.png","label");//创建一个 Button ...

来源: Laya3.0_api 发布时间: 20231115

198. ENOENT: no such file or directory, open 'D:\layaidehello eleasewxgameLayaSample.js.map [ 39%]

...锁定, 无法添加新回复 发起人 海货 相关问题 Failed to load resource: net::ERR_FILE_NOT_FOUND 用 texturepacker .json+.png File file上传图片 获得的base64 怎么 显示在laya舞台上啊 发布OPPO快游戏生成rpk错误(附Demo) Laya2.8.0 File has no manifest.json LayaAir3D W...

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

199. 绘制能力 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

...oint.EMPTY, color)); else return null; } 代码示例: Laya.loader.load("resources/layaAir.png").then((res: Laya.Texture) => { let sp = new Laya.Sprite(); // 绘制填充纹理 sp.graphics.fillTexture(res, 0, 0, 500, 500, "repeat"); this.owner.addChild(sp); }); 运行效果: (图8-2) 九...

来源: Laya3.0_文档 发布时间: 20251010

200. laya.display.Sprite_API3.0 [ 38%]

...te();//创建一个 Sprite 类的实例对象 sprite 。 sprite.loadImage("resource/ui/bg.png");//加载并显示图片。 sprite.x = 200;//设置 sprite 对象相对于父容器的水平方向坐标值。 sprite.y = 200;//设置 sprite 对象相对于父容器的垂直方向坐标值。 sprite.pivo...

来源: Laya3.0_api 发布时间: 20231115