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

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

441. 加载的nativeimage处理 [ 72%]

...er的load方法type是nativeimage的时候,加载到的img如何应用到Sprite显示出来 2017-06-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 cuixueying 赞同来自: { Laya.loader.load("ui/image.png", H...

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

442. laya.ui.TipManager [ 72%]

...Packagelaya.uiClasspublic class TipManagerInheritanceTipManager Component Sprite Node EventDispatcher Object鼠标提示管理类Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示透...

来源: laya_api 发布时间: 20170929

443. 求HTTP相关的文档或者例子谢谢了 [ 72%]

...message has been successfully uploaded!" } package { import flash.display.Sprite; import flash.events.Event; import flash.events.HTTPStatusEvent; import flash.events.IOErrorEvent; import flash.events.ProgressEvent; import flash.events.SecurityErrorEvent; import flash.net.URLLoader; import flash.net...

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

444. 图片加载问题 [ 72%]

图片加载问题 var s:Sprite = new Sprite; s.loadImage("res/soil.png"); Laya.stage.addChild(s); chrome报错:Access to Image at 'file:///E:/study/LayaAirStudy/bin/h5/res/soil.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed acces...

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

445. 关于模型创建问题 [ 72%]

关于模型创建问题 new Laya.Sprite3D.load("../../res/threeDimen/staticModel/simpleScene/B00IT001M000.v3f.lh") 和 new Laya.MeshSprite3D(Laya.Mesh.load("nvXia/A02P1V1F001AX01@yequangongjinv-DEFAULT0.lm")) 这样创建的区别是什么,.lh和.lm这两种文件格式的区别是什么,什...

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

446. 遮罩在安卓显示正常,在ios下显示正常。 [ 72%]

...正常的 let tx:Laya.Texture = Laya.loader.getRes(url); let maskMc:Laya.Sprite = new Laya.Sprite(); maskMc.graphics.drawTexture(tx,0,0,tx.width,tx.height); this.bar.displayObject.mask = maskMc; this.bar.visible = true; maskMc 是外部加载的一个纹理,就算是一起放在fairygui里面的还...

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

447. 如何动态获取image的宽高? [ 72%]

...aya2.6.0beta 物理引擎 刚体碰撞点位置获取正确 如何设置Sprite的宽高和点击区域? Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 如何获取一个3D模型的长宽高? 请问如何获取鼠标在某个元素内 相对于这个元...

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

448. 关于微信小游戏的开放数据域,请问如何将开放数据域的canvas绘制到layaair的image上? [ 72%]

...ve); wx.onTouchEnd(onTouchEnd); wx.onTouchCancel(onTouchCancel);  var rankSprite2 = new Laya.Sprite(); rankSprite2.zOrder = 100; Laya.stage.addChild(rankSprite2); var texture = new Laya.Texture(sharedCanvas); texture.bitmap.alwaysChange = true; rankSprite2.graphics.drawTexture(texture, left*pixelRa...

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

449. laya.ui.VBox [ 72%]

...ackagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box Component Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 子对象对齐方式。LayoutB...

来源: laya_api 发布时间: 20170929

450. laya.ani.swf.MovieClip [ 72%]

...Events Packagelaya.ani.swfClasspublic class MovieClipInheritanceMovieClip Sprite Node EventDispatcher Object MovieClip 用于播放经过工具处理后的 swf 动画。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度...

来源: laya_api 发布时间: 20170929