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

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

2351. laya.net.LoaderManager [ 59%]

...载出错时调度。LoaderManagerProperty DetailmaxLoaderpropertypublic var maxLoader:int = 5 最大下载线程,默认为5个retryDelayproperty public var retryDelay:int = 0 延迟时间多久再进行错误重试,默认立即重试retryNumproperty public var retryNum:int = 1 加载出错后...

来源: laya_api 发布时间: 20170929

2352. laya.map.TileAniSprite [ 59%]

...果可以当作图片源,再次绘制到其他Sprite里面,示例: var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精...

来源: laya_api 发布时间: 20170929

2353. Laya2.0导入protobufjs第三方库,报错找不到文件 [ 59%]

...  Laya2.0 在Main.ts里:import protoAll = require("../libs/protoAll"); var pCls = protoAll.com.bee.protobuf.ClimbingTowerInfoProto; var p: protoAll.com.bee.protobuf.ClimbingTowerInfoProto = pCls.create(); p.curId = 10; p.isSecondPass = true;   用了第三方库protobufjs。 protoAll.d.ts是prot...

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

2354. Button属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 59%]

...aya.webgl.WebGL; public class ComponentDemo { //按钮资源路径 private var skin:String = "./res/img/btn_test.png"; public function ComponentDemo() { //初始化引擎,设置宽高并开启WebGL渲染模式 Laya.init(1334,750, WebGL); //设置舞台背景颜色 Laya.stage.bgColor = "#ffffff"; /...

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

2355. laya.utils.Log [ 59%]

...] 隐藏/显示日志面板LogProperty DetailmaxCountpropertypublic static var maxCount:int = 20最大打印数量,超过这个数量,则自动清理一次Method Detailclear()method public static function clear():void 清理日志 enable()method  public static function enable():void 激活Log...

来源: laya_api 发布时间: 20170929

2356. laya.filters.ColorFilterAction [ 59%]

...应用颜色滤镜。 ColorFilterActionProperty Detaildatapropertypublic var data:ColorFilterConstructor DetailColorFilterAction()Constructorpublic function ColorFilterAction() 创建一个 ColorFilterAction 实例。 Method Detailapply()method public function apply(srcCanvas:*):* 给指定的对象...

来源: laya_api 发布时间: 20170422

2357. laya.ani.bone.DeformSlotData [ 59%]

...SlotData()DeformSlotDataProperty DetaildeformSlotDisplayListpropertypublic var deformSlotDisplayList:Vector.<DeformSlotDisplayData>Constructor DetailDeformSlotData()Constructorpublic function DeformSlotData()Sat Apr 22 2017, 10:26 AM +08:00

来源: laya_api 发布时间: 20170422

2358. laya.filters.BlurFilter [ 59%]

...h:Number = 4) 模糊滤镜 BlurFilterProperty Detailstrengthpropertypublic var strength:Number模糊滤镜的强度(值越大,越不清晰 Constructor DetailBlurFilter()Constructorpublic function BlurFilter(strength:Number = 4) 模糊滤镜 Parameters strength:Number (default = 4) — 模糊滤镜...

来源: laya_api 发布时间: 20170929

2359. timeline [ 59%]

...象做时间线动画吗? 发现对不同对象做动画会出问题?var timeline:TimeLine = new TimeLine(); timeline.addLabel("ymove", 0).to(aa, { y:img_tipOver["ey"] }, 500, Ease.cubicInOut) .addLabel("wait",0).to(aa,{},2000) .addLabel("alphas", 0).to(aa, { alpha:0 }, 300, Ease.cubicOut) .addL...

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

2360. protobuf [ 59%]

protobuf var buffer:any = AwesomeMessage.encode(message).finish(); 请问这个怎么发送给服务端 2017-06-26 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 建议你可以直接网...

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