大约有 1,032 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0056 秒)
Laya_社区(706) Laya3.0_api(74) Laya2.0_api(67) laya_api(58) Laya2.0_文档(34) Laya_示例(33) Laya2.0_示例(31) Laya3.0_文档(29)
...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'...
来源: Laya_社区 发布时间: 20180807
...et b1:Laya.BoundBox = this.box.meshRenderer.boundingBox; let box2:Laya.MeshSprite3D = other.owner as Laya.MeshSprite3D; let b2:Laya.BoundBox = box2.meshRenderer.boundingBox; }获取boundingBox的时候会报错。报错如下图所示。如何正确的获取双方包围盒。且2.0如何改变自身...
来源: Laya_社区 发布时间: 20181116
...,总是报这个错,大神帮我看下 package view { import laya.display.Sprite; import laya.renders.Render; import laya.utils.Browser; public class Retitution extends Sprite { private const stageWidth:int = 800; private const stageHeight:int = 600; private var Matter:Object = Browser.window.Matter...
来源: Laya_社区 发布时间: 20171214
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask...
来源: Laya_社区 发布时间: 20181220
...a.init(Browser.width,Browser.height); Laya.stage.bgColor="#EEFFCC"; sp=new Sprite(); sp.graphics.drawRect(0,0,200,200,"#FF0000"); Laya.stage.addChild(sp); Laya.timer.loop(delay,this,onLoop); } private function onLoop():void { delay-=50; sp.x+=20; Laya.timer.clear(this,onLoop); Laya.timer.loop(delay,...
来源: Laya_社区 发布时间: 20170626
...同的对象,调用第一个的一个方法,走进了第二方法里 sprite旋转以后,但是原来碰撞检测rect没有旋转 缓动Tween能用在3D物体或者特效上面吗? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 Texture图片能否进行翻转? 求指点3d...
来源: Laya_社区 发布时间: 20180122
...事件处理。 Parameters evt: any Returns void setCapture setCapture(sp: Sprite, exclusive?: boolean): void Defined in laya/events/MouseManager.ts:461 Parameters sp: Sprite Default value exclusive: boolean = false Returns void Globals "laya/events/MouseManager" MouseManager disableMouseEvent mouse...
来源: Laya3.0_api 发布时间: 20231102
...卡住 关于龙骨动画转换 关于apk打包动画卡的问题 new Laya.Sprite();绘制图形以后,怎么删除释放资源? LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 问题状态 最新活动: 2017-08-09 11:46 浏览: 956 关注: 2 人 square568 • 2017-08-09 12:33 现在要做...
来源: Laya_社区 发布时间: 20170809
...Resource is not a function //开放域层级 private static _openZone:Laya.Sprite; //开放域纹理 private static _openZoneTexture:Laya.Texture; public static openZone(vx:number=0,vy:number=0,scaleX:number=1,scaleY:number=1) { if(!this._openZone) { //开放域 this._openZone = new Laya.Sprite(); }...
来源: Laya_社区 发布时间: 20200618
...erjs物理引擎鼠标问题 ide 2.4 layaair2-cmd 编译报错 如何设置Sprite的宽高和点击区域? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 问题状态 最新活动: 2023-...
来源: Laya_社区 发布时间: 20230410