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

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

1341. layaair1.7.9 beta版,给图片加上颜色滤镜,效果有问题 [ 53%]

...a.display.Sprite = new laya.display.Sprite(); spr.texture = tx; Laya.stage.addChild(spr); spr.x = 300; spr.y = 100; var color:Array = ; color.push( 0, 0, 0, 0, 255, 0, 0, 0, 0, 255, 0, 0, 0, 0, 255, 0, 0, 0, 1, 0); var filter:ColorFilter = new ColorFilter(color); spr.filters = [filter];   附件 : ...

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

1342. laya.ui.Radio [ 53%]

...:String = null, label:String) 创建一个新的 Radio 类实例。 Radio addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:A...

来源: laya_api 发布时间: 20170929

1343. 为什么使用 HTMLDivElement 有%号,文字太长的时候%号会换到第二行? [ 53%]

...候%号会换到第二行? var text = new HTMLDivElement(); Laya.stage.addChild(text); text.color = "#fff"; text.style.fontSize = 24; text.innerHTML = "子弹命中率:<span style='color: #ee452c'>25</span>\/50 50%";     用的是最新版本 2017-03-26 添加评论 免费帖 --> ...

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

1344. laya.ui.ProgressBar [ 53%]

...in:String = null) 创建一个新的 ProgressBar 类实例。 ProgressBar addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:A...

来源: laya_api 发布时间: 20170929

1345. laya.particle.Particle2D_API3.0 [ 53%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance advanceTime bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce...

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

1346. laya.media.SoundNode_API3.0 [ 53%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentP...

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

1347. Laya2.1 加载spine动画会随机出现抖动 [ 53%]

...下 //加载spine动画 this.skeleton = new Laya.Skeleton ();  Laya.stage.addChild(this.skeleton);  this.skeleton.pos(parseInt (npcPos[0]), parseInt (npcPos[1]));  this.skeleton.load (this.curNpcInfo.npcPath); 附件 : --> 70003.zip 2019-05-16 添加评论 免费帖 --> 分享 微博 QZONE 微信...

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

1348. laya.display.AnimationPlayerBase [ 53%]

...此类,因为有些方法需要由子类实现。 AnimationPlayerBase addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node  addLabel(label:String, index:int)...

来源: laya_api 发布时间: 20170929

1349. laya.map.GridSprite_API3.0 [ 53%]

...t visible width x y zOrder Methods _initialize _processActive addAniSprite addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearAll clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fr...

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

1350. laya.ui.Slider [ 53%]

...Slider(skin:String = null) 创建一个新的 Slider 类示例。 Slider addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...

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