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

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

321. 按官网上的文档 使用LayaNative运行LayaAir项目https://ldc.layabox.com/doc/?nav=zh-as-7-0-1。出现了问题 [ 51%]

...题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 问题状态 最新活动: 2018-05-30 16:54 浏览: 1421 关注: 2 人 Mr.余 • 2018-05-31 18:01 用LayaAir3D转换工具,版本1.7.16beta。导出场景,使用LayaAirRun ,打开连接报错,连接不上是咋...

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

322. laya.ani.bone.Skeleton_API3.0 [ 51%]

...i/bone/Skeleton" Skeleton Class Skeleton 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Hierarchy Sprite Skeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeigh...

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

323. laya.particle.Particle2D_API3.0 [ 51%]

...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoPlay autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayW...

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

324. laya.ui.FontClip [ 51%]

...anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoPlay : Boolean 表示是否自动播放动画,若自动播放值为true,否则值为false; 可控制切片动画的播放、停止。 Clip autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 fals...

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

325. 摄像机的viewportPointToRay报错 [ 51%]

...游戏项目 加载有中文的json文件 报错 真机调试报错:LayaPlayer不支持的标签</SCRIPT> IDE通过.ui自动生成的ui代码报错 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 本地调试加载本地图片都报错 自定义场景类导出layaM...

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

326. swf转成H5资源显示超出原有范围 [ 51%]

...忙看下,谢谢啦,贴上代码。 package {     import flash.display.Loader;     import flash.display.LoaderInfo;     import flash.display.MovieClip;     import flash.display.Sprite;     import flash.display.StageAlign;     import flash.display.StageScaleMode;     import f...

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

327. laya.media.SoundNode_API3.0 [ 51%]

...isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY autoPlay blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D isMusic loop ...

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

328. laya.ui.FontClip_API3.0 [ 50%]

...htSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY autoPlay blendMode bottom cacheAs centerX centerY clipHeight clipWidth clipX clipY components customRenderEnable dataSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalR...

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

329. laya.components.AnimatorState2D_API3.0 [ 49%]

...t cycleOffset: number = 0 Defined in laya/components/AnimatorState2D.ts:35 play on awake start offset loop loop: number = -1 Defined in laya/components/AnimatorState2D.ts:60 动画循环次数,-1或者小于-1为使用clip的循环状态,1为播放一次,2为播放2次,0为无限循环 name ...

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

330. 龙骨动画-拖拽-点击区域HitArea设置问题 [ 48%]

...Event.MOUSE_DOWN, this, dragFunc); Laya.stage.addChild(skeleton); skeleton.play(0,true); rectangle = skeleton.getBounds(); var hitArea = new Laya.HitArea(); var graphic = new Laya.Graphics(); graphic.drawRect(-rectangle.x, -rectangle.y, rectangle.width, rectangle.height); hitArea.hit = graphic; skel...

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