大约有 888 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0042 秒)
Laya2.0_api(368) laya_api(298) Laya_社区(194) Laya2.0_文档(13) Laya3.0_api(10) Laya3.0_文档(3) Laya2.0_示例(1) Laya_示例(1)
图集打包后使用Texture不显示啊 { "frames": { "sg.png": { "frame": { "x": 0, "y": 0, "w": 300, "h": 300, "idx": 0 }, "spriteSourceSize": { "x": 0, "y": 0, "w": 300, "h": 300 }, "sourceSize": { "w": 300, "h": 300 }, "rotated": false, "trimed": true }, "sg2.png": { "frame": { "x": 302, "y": ...
来源: Laya_社区 发布时间: 20170329
...对布局组件,导致Sprite无法对齐父节点。 8、【Laya.stage.frameRate】没有提供高刷接口,无法设置高刷新率(120帧),只能在引擎初始化前使用Laya.Config.FPS=120实现高刷适配。既然支持Windows打包,那也应该适配一下高刷新率。提议将...
来源: Laya_社区 发布时间: 20240701
...tup() { createPhoenixes(); // 动态背景渲染 evalBgColor(); Laya.timer.frameLoop(1, this, renderBg); } function createPhoenixes() { var scaleFactor = Math.min( Laya.stage.width / (phoenixWidth * 2), Laya.stage.height / phoenixHeight); // 加了混合模式的凤凰 var blendedPhoenix = createAni...
来源: Laya_示例 发布时间: 20241123
...is.createPhoenixes(); // 动态背景渲染 this.evalBgColor(); Laya.timer.frameLoop(1, this, this.renderBg); } createPhoenixes() { let scaleFactor = Math.min( Laya.stage.width / (phoenixWidth * 2), Laya.stage.height / phoenixHeight); // 混合模式的凤凰 let blendedPhoenix = this.createAnimatio...
来源: Laya2.0_示例 发布时间: 20241123
...tDispatcher WebXRSessionManager Index Properties baseReferenceSpace currentFrame currentTimestamp defaultHeightCompensation session viewerReferenceSpace EVENT_FRAME_LOOP EVENT_MANAGER_END Accessors currentFrameRate referenceSpace sessionMode supportedFrameRates Methods destroy endXRRenderLoop event ...
来源: Laya3.0_api 发布时间: 20231115
...udio中会狂刷下面的日志,页面会卡顿 Choreographer: Skipped 6 frames! The application may be doing too much work on its main thread. Choreographer: Skipped 3 frames! The application may be doing too much work on its main thread. Choreographer: Skipped 8 frames! The application may...
来源: Laya_社区 发布时间: 20200410
...的json文件,可看到相隔的两个鸭子y轴位置64跳到了66. { "frames": { "小鸭子1.fw.png": { "frame": { "x": 0, "y": 0, "w": 64, "h": 64, "idx": 0 }, "spriteSourceSize": { "x": 0, "y": 0, "w": 64, "h": 64 }, "sourceSize": { "w": 64, "h": 64 }, "rotated": false, "trimed": false }, "小...
来源: Laya_社区 发布时间: 20161228
...ime >= 0 && time <= player.playDuration) { let frame = time / player.cacheFrameRateInterval | 0; // 实际帧数 armature.stop(); // 停止当前动画 if (armature._aniClipIndex != index) { armatu...
来源: Laya_社区 发布时间: 20181115
API DocumentationAll Packages | All Classes | Index | Frames No Frames RaycastHitProperties | Methods Packagelaya.d3.utilsClasspublic class RaycastHitInheritanceRaycastHit Object ... Public Properties PropertyDefined By distance : NumberRaycastHit position : Vector3RaycastHit spri...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames IFilterActionMethods Packagelaya.filtersInterfacepublic interface IFilterAction IFilterAction 是滤镜动画接口。 Public Methods MethodDefined By apply(srcCanvas:*):*IFilterActionMethod Detailapply()method publi...
来源: laya_api 发布时间: 20170929