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

大约有 6,214 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0101 秒)

6031. rigidBody.applyForce 对刚体应用力,物体没有移动 [ 39%]

...材质         plane.meshRenderer.material = planeMat;         //创建球         this.addSphere();     }     //添加球体     addSphere(){         let radius = 0.5;         let sphere = this.scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(radius)));...

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

6032. laya.d3.renderobjs.nativeobj.NativeVertexBuffer3D_API3.0 [ 39%]

...tructor Defined in laya/d3/RenderObjs/NativeOBJ/NativeVertexBuffer3D.ts:44 创建一个 VertexBuffer3D 实例。 Parameters byteLength: number 字节长度。 bufferUsage: BufferUsage VertexBuffer3D用途类型。 Default value canRead: boolean = false 是否可读。 Returns NativeVertexBuffer3D Pr...

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

6033. unity 新建场景,预览报错。 [ 39%]

...景,预览报错。 unity2018,安装2.8.0和2.11.0的插件,都会在创建场景后预览报错: MissingReferenceException: The object of type 'SkinnedMeshRenderer' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destro...

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

6034. 设置transform.localRotation之后,就不能再使用transform.rotate了 [ 39%]

...访问localhost:8888 等界面显示之后在console中输入test() 这会创建两张牌,第一张牌在右侧,第二张在左侧。 第一张牌使用了localRotation,可以看到旋转无效了,console中的matrix也可以看到是不变的 第二张牌直接rotate,可以看到旋转了...

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

6035. laya.utils.TimeLine [ 39%]

...TimeLineInheritanceTimeLine EventDispatcher Object TimeLine 是一个用来创建时间轴动画的类。 Public Properties PropertyDefined By  scale : Number = 1 缩放动画播放的速度。TimeLine  total : int[read-only] 得到总帧数。 TimeLinePublic Methods Hide Inherited Public Metho...

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

6036. 动画混合无效(版本2.6) [ 39%]

...官方demo的效果一样 。这是个坑 要不是自己懂点3dmax 反复创建动画测试 很难解决。 2020-09-22 1 6 分享 微博 QZONE 微信 184*****121 赞同来自: layabox 这种动画融合官方是不支持的   我们支持的融合是上身一个动画 下身一个动画这样  ...

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

6037. laya.d3.core.SkinnedMeshRenderer_API3.0 [ 39%]

...MeshRenderer.constructor Defined in laya/d3/core/SkinnedMeshRenderer.ts:97 创建一个 SkinnedMeshRender 实例。 Returns SkinnedMeshRenderer Properties _bones _bones: Sprite3D[] = [] Defined in laya/d3/core/SkinnedMeshRenderer.ts:28 Optional _extra _extra: IComponentExtra Inherited from Component...

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

6038. laya发布vivo小游戏失败 [ 39%]

...Game_VIVO' after 33 s [09:47:13] Starting 'createProj_VIVO'... (proj)开始创建vivo快游戏项目 index.js:829 data stderr: internal/modules/cjs/loader.js:968 throw err; ^ Error: Cannot find module 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\@vivo-minigame\cli\bin\mg' at Function.Mod...

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

6039. 2D灯光与网格 · LayaAir3.4 · 引擎文档 · LAYABOX [ 39%]

...esh2DRender; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.light1Render = this.light1.getComponent(Laya.FreeformLight2D); this.mesh1Render = this.mesh1.getComponent(Laya.Mesh2DRender); this.mesh2Render = this.mesh2.getCom...

来源: Laya3.0_文档 发布时间: 20251010

6040. laya2.0用FlashDevelop调用编译,总是打开bin\h5\index.html [ 39%]

...译,总是打开bin\h5\index.html 下载2.0ide后,我用layaide2.0beta2创建一个新2d示例项目 在layaide里按运行没问题,打开的页面是bin\index.html 可是在flashdevelop里运行却有问题,每次打开的页面都是bin\h5\index.html .laya/launch.json:{ "version": "0.2....

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