大约有 6,214 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0101 秒)
Laya_社区(4720) Laya2.0_文档(406) Laya3.0_api(400) Laya2.0_api(252) laya_api(215) Laya3.0_文档(182) Laya2.0_示例(22) Laya_示例(17)
...材质 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
...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
...景,预览报错。 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
...访问localhost:8888 等界面显示之后在console中输入test() 这会创建两张牌,第一张牌在右侧,第二张在左侧。 第一张牌使用了localRotation,可以看到旋转无效了,console中的matrix也可以看到是不变的 第二张牌直接rotate,可以看到旋转了...
来源: Laya_社区 发布时间: 20170323
...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
...官方demo的效果一样 。这是个坑 要不是自己懂点3dmax 反复创建动画测试 很难解决。 2020-09-22 1 6 分享 微博 QZONE 微信 184*****121 赞同来自: layabox 这种动画融合官方是不支持的 我们支持的融合是上身一个动画 下身一个动画这样 ...
来源: Laya_社区 发布时间: 20200915
...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
...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
...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
...译,总是打开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