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

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

61. 小游戏内 个别手机出现图片花了 像马赛克一样的东西,很多图片不显示 [ 64%]

...tlas', "type":Laya.loader.ATLAS }, { 'url': "res/atlas/role_skin.atlas", "type":Laya.loader.ATLAS }, { 'url': "res/atlas/number.atlas", "type":Laya.loader.ATLAS }, { "url": 'res/atlas/battle.atlas', "type":Laya.loader.ATLAS } , { ...

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

62. laya.ui.AdvImage_API3.0 [ 64%]

...mage Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disab...

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

63. 资源加载 · LayaAir3.4 · 引擎文档 · LAYABOX [ 63%]

...aya.Texture) => { let img = new Laya.Image(); img.texture = res; // img.skin = url; //ui组件直接设置skin也可以 img.pos(x, y); this.owner.addChild(img); }); } } 1.2 带类型的加载方式 有的时候,网络资源没有后缀名,又或者,图片xxx.png并非是当成Texture使用...

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

64. laya.ui.Clip_API3.0 [ 63%]

... Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 example 以下示例代码,创建了一个 Clip 实例。 package { import laya.ui.Clip; public class Clip_Example { private var clip:Clip; public function Cl...

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

65. laya.ui.ColorPicker_API3.0 [ 62%]

...;//创建一个 ColorPicker 类的实例对象 colorPicket 。 colorPicket.skin = "resource/ui/color.png";//设置 colorPicket 的皮肤。 colorPicket.x = 100;//设置 colorPicket 对象的属性 x 的值,用于控制 colorPicket 对象的显示位置。 colorPicket.y = 100;//设置 colorPicket ...

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

66. laya.ui.TextArea_API3.0 [ 62%]

...例。");//创建一个 TextArea 类的实例对象 textArea 。 textArea.skin = "resource/ui/input.png";//设置 textArea 的皮肤。 textArea.sizeGrid = "4,4,4,4";//设置 textArea 的网格信息。 textArea.color = "#008fff";//设置 textArea 的文本颜色。 textArea.font = "Arial";//设置 ...

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

67. 使用blendMode=add模式时,某些手机上无法正常显示,出现黑底 [ 62%]

...       var image:Image = new Image();             image.skin = "res/atlas/clanwar_bg.jpg?" + Math.random();             Laya.stage.addChild(image);              var index:int = 0;             Laya.stage.timerLoop(1, this, function():void{index+...

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

68. 时间轴动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 61%]

...帧属性介绍 `x`:x为属性名,-260为当前帧的值。如果选中skin,就显示skin属性名和对应的值。该栏不能修改。 `标签label`:该栏设置后,可以在项目中,通过标签名用代码对该帧进行操作。当设置标签后,设置标签的帧会出现红...

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

69. 时间轴动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 61%]

...帧属性介绍 `x`:x为属性名,-260为当前帧的值。如果选中skin,就显示skin属性名和对应的值。该栏不能修改。 `标签label`:该栏设置后,可以在项目中,通过标签名用代码对该帧进行操作。当设置标签后,设置标签的帧会出现红...

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

70. laya.ui.Button_API3.0 [ 61%]

...label");//创建一个 Button 类的实例对象 button ,传入它的皮肤skin和标签label。 button.x =100;//设置 button 对象的属性 x 的值,用于控制 button 对象的显示位置。 button.y =100;//设置 button 对象的属性 y 的值,用于控制 button 对象的显示位置。...

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