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

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

71. 请问一下我一个3d模型,贴图是UV类型的里面好多张图,在代码里面怎么调用其它的贴图 [ 47%]

...                       var twoMc:MeshSprite3D = Sprite3D.instantiate(meshSprite,new Vector3(0.1, 0, 0.2),null,null,false) as MeshSprite3D;                         twoMc.transform.position = new Vector3(0.1, 0, 0.2);                         var tra...

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

72. 3D场景中加入lh精灵,再删除后有时会出问题。 [ 47%]

...灵(麻将牌)在场景中会出现多个,所以会多次调用Sprite3D.instantiate()方法复制多份精灵加入到这个3d场景。     问题出现在把这些后加入的精灵移出场景或者active=false后,渲染就出问题了:被移出的精灵还显示着,但是ls场景中本来...

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

73. 运行时网页黑屏,报错提示 [ 47%]

...e.addComponent(Wall);另外在GameManager.js的spawnCurveWall方法内,instantiate复制对象内传入的参数拼写错误this.wallCurvePre没有,应该是改为this.wallCurve。 CubeLearn_Laya.zip 2022-03-31 1 1 分享 微博 QZONE 微信 Laya_Yan 赞同来自: 没有losd这个方法,您...

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

74. discard property,please use transform's property instead [ 46%]

...++) {                     monkeys['monkey_' + x] = Laya.Sprite3D.instantiate(layaMonkey, scene, false, new Laya.Vector3(vx, 0, vz));                     vx += 0.3;                 };                 vz += 0.4;                 vx = -1.65;             ...

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

75. LayaNative 原生发布 APK Oppo R15 奔溃 其他正常 [ 45%]

....angelport.apptest, PID: 7563     java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.angelport.apptest/demo.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "demo.MainActivity" on path: DexPathList[[zip file "/data/app/com.angelport.apptest-Lo_yTvpJWT9i...

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

76. 3D场景销毁后,仍有引用存在,内存中场景及引用其的对象无法销毁 [ 43%]

...zhujue_attack.lh");             let tarItem = Laya.Sprite3D.instantiate(item);             this.scene.addChild(tarItem);             tarItem.transform.position = new Laya.Vector3(0, 0, 0);             item.destroy();             ite...

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

77. laya.d3.core.Camera_API3.0 [ 43%]

...ByScene drawTextureCubeByScene drawTextureCubePixelByScene getTexturePixel instantiate load Constructors constructor new Camera(aspectRatio?: number, nearPlane?: number, farPlane?: number): Camera Overrides BaseCamera.constructor Defined in laya/d3/core/Camera.ts:659 创建一个 Camera 实例。 Pa...

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

78. laya.d3.webxr.core.WebXRCamera_API3.0 [ 42%]

...ByScene drawTextureCubeByScene drawTextureCubePixelByScene getTexturePixel instantiate load Constructors constructor new WebXRCamera(aspectRatio?: number, nearPlane?: number, farPlane?: number): WebXRCamera Inherited from Camera.constructor Overrides BaseCamera.constructor Defined in laya/d3/core/Ca...

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

79. 3d显示对象克隆体超出舞台不再显示的bug2.1.0.btea1 [ 41%]

...= sp; this.scene3d.addChild(sp); //克隆Sprite3D this.sp2 = Laya.Sprite3D.instantiate(this.sp,null,false); //错开点位置 this.sp2.transform.translate(new Laya.Vector3(-0.2, 0, 0)); this.scene3d.addChild(this.sp2); //添加键盘控制 Laya.timer.frameLoop(1, this, this.onKeyDown); } onKeyDown()...

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

80. Laya 2.2在iPhone 6S上出现严重的帧率暴跌问题 [ 36%]

...独改名加载不同的.lh就没问题。 我的问题:用了Sprite3D.instantiate方法,在iPhone6上性能降低了8... 2019-10-04 0 1 分享 微博 QZONE 微信 潘智峰 赞同来自:  我也遇到了这个问题。 2019-10-07 0 0 分享 微博 QZONE 微信 btiger 赞同来自: 把所有的...

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