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

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

761. laya.display.Stage [ 57%]

...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...

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

762. Laya集成Matter.js库layaSprite水平翻转无法显示的bug [ 57%]

...JS和TS) 环境:Win7 x64 问题描述: laya集成matters.js, 1、创建一个sprite,水平翻转sprite(scalex=-1) 2、创建matter.js刚体body,并且设置layaSprite为步骤1的sprite 发现sprite无法显示。如果步骤1的sprite不翻转,则正常显示。   相关实例代码...

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

763. 问下spine做的骨骼动画,和用序列帧,效率上你们有做过测试对比不? [ 57%]

...么ani动画执行的不是按中心点执行的 一个时间轴动画里创建的多个动画,怎么分别调用?如图 app启动动画应该如何去掉 Animation 的createFrames 使用已经加载的图集缓存动画失败 发布到vivo平台后,龙骨动画无法显示 2.2-2.3版本 ani...

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

764. 播放动画(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 57%]

...omponent()` 方法来获取模型上的组件。带动画的模型在加载创建时引擎默认赋予了Animator动画组件,因此我们可以获取它,参考以下代码。 ```typescript //获取角色动画组件 var ani= role3D.getChildAt(0).getComponent(Laya.Animator); ``` 打开.lh文件...

来源: Laya2.0_文档 发布时间: 20210715

765. 自定义UI导致编辑器无显示 [ 57%]

..." /> </LabelAtlas> </uiComp> 在编辑器里提示: 创建[LabelAtlas]时遇到错误(手动实例一次本组件可定位错误) 但是在代码里创建LabelAtlas没有任何效果也没有报错。换成Clip就正常显示。 qq502416708 • 2017-02-07 12:04 @cuixueying

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

766. laya.d3.math.BoundBox_API3.0 [ 57%]

... Globals "laya/d3/math/BoundBox" BoundBox Class BoundBox BoundBox 类用于创建包围盒。 Hierarchy BoundBox Implements IClone Index Constructors constructor Properties max min Methods clone cloneTo getCenter getCorners getExtent setCenterAndExtent toDefault createfromPoints merge Constructors c...

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

767. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 57%]

...structor Defined in laya/d3/core/particleShuriKen/ShuriKenParticle3D.ts:56 创建一个 Particle3D 实例。 Returns ShuriKenParticle3D Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _scene _scene: Node Inherited from Node._scene Defined i...

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

768. laya.d3.component.volume.batchvolume.StaticBatchVolume_API3.0 [ 57%]

...r Defined in laya/d3/component/Volume/BatchVolume/StaticBatchVolume.ts:163 创建一个BatchVolume实例 Returns StaticBatchVolume Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 Optional _singleton _singleton: boolean = t...

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

769. laya.ani.js:4637 Uncaught TypeError: Cannot read property 'getAnimationCount' of null [ 57%]

...ne undefined Cannot read property 'displayObject' of null laya 2.0 用class创建scene, 实例 的 url属性为null, Laya发布微信包提示Uncaught ReferenceError: Laya is not defined 多个对象添加点击事件, 舞台上面移除掉所有对象,并且置为null 问题状态 最新活动: 2...

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

770. laya.d3.math.Quaternion [ 57%]

...ritanceQuaternion ObjectImplements laya.d3.core.IClone Quaternion 类用于创建四元数。 Public Properties PropertyDefined By  w : NumberW轴坐标Quaternion  x : NumberX轴坐标Quaternion  y : NumberY轴坐标Quaternion  z : NumberZ轴坐标QuaternionPublic Methods  MethodDefined By...

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