大约有 771 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0078 秒)
...port Image = Laya.Image import HTMLDivElement = Laya.HTMLDivElement import Sprite = Laya.Sprite import Box = Laya.Box /** 公告栏 */ export default class Notice extends View { /** 滚动区域 */ hornBox: Box /** html对象 */ html: HTMLDivElement /** 滚动框的宽度 */ defaultX = 1110 /** 动...
来源: Laya_社区 发布时间: 20180314
...ne.lh", Laya.Handler.create(this, function(){ var layaMonkey =Laya.Sprite3D.load("fish/denglongyu/layaScene.lh"); scene.addChild(layaMonkey) layaMonkey.transform.localScale = new Laya.Vector3(0.04,0.04,0.04); layaMonkey.transform.position = new Laya.Vector3(0, 0.5,0); // layaMonkey.transform...
来源: Laya_社区 发布时间: 20171212
...) Panel中的东西左右拖动好象有问题 laya1.7.9beta版 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 两个问题 有元件支援视频流渲染吗? Image元件读不了资料流 graphics alpha 问题 问题状态 最新活动: 2017-09-29 19:27 浏览: 787 关注: 2...
来源: Laya_社区 发布时间: 20170928
...ackagelaya.uiClasspublic class ProgressBarInheritanceProgressBar Component Sprite Node EventDispatcher Object ProgressBar 组件显示内容的加载进度。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1...
来源: laya_api 发布时间: 20170929
..._newvec; console.log("kk2") var FrameAnimation=laya.display.FrameAnimation,Sprite=laya.display.Sprite,Text=laya.display.Text; console.log("kk22") var View=laya.ui.View; console.log("kk3") //class loading100 extends laya.display.Sprite var loading100=(function(_super){ console.log("kk4") function loa...
来源: Laya_社区 发布时间: 20170725
...接口针对一个组件截屏? public static function getBase64Str(sp:Sprite, canvasWidth:Number, canvasHeight:Number, offsetX:Number=0, offsetY:Number=0):String { //定义一个HTMLCanvas来接收截屏返回的HTMLCanvas对象;截取原始图片中从(offsetX,offsetY)坐标开始的图片。 ...
来源: Laya_社区 发布时间: 20180610
...回复被折叠 要回复问题请先登录 发起人 photon 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 写个捕鱼游戏练练手 laya针对页游耗用内存大的问题是如何解决的? 解决跨域相关! Layabox 2.0 bate5 运行编译之后 bundle.js 文...
来源: Laya_社区 发布时间: 20190709
...的信息不全面 li970704928 • 2017-12-13 19:03 private var maskArea:Sprite; private var sp:Sprite; private var guideContainer:Sprite; public function openPoison():void { mapData = mapSession.mapData; guideContainer=new Sprite(); guideContainer.cacheAs = "bitmap"; this.addChild(guideCo...
来源: Laya_社区 发布时间: 20171213
...框 求指点3d射线碰撞和UI点击穿透的问题 关于遍历产生的sprite的点击事件,急,大神帮看哈 救命!canvas定位后 点击区域偏移,求大大们解答 ui list 里面的元素不能点击两次 如何设置Sprite的宽高和点击区域? iphoneX环境下新手引...
来源: Laya_社区 发布时间: 20180426
...es/atlas/comp.json', Handler.create(this, function(){ container = new Laya.Sprite(); var x = 0,y =80; Laya.stage.addChild(container); for(var i=0;i<1200;i++){ var role = new Laya.Sprite(); x = x+0.1; y = y+0.1 role.x = x; role.y = y; role.loadImage('comp/bg.png'); container.addChild(role); var ro...
来源: Laya_社区 发布时间: 20180122