大约有 222 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0036 秒)
...图1所示。 ```typescript //平面 var plane = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createPlane(10, 10, 10, 10))); //新建材质 var planeMat = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(this, function(tex) { plane...
来源: Laya2.0_文档 发布时间: 20210714
...无效) LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 lh文件内meshSprite添加阴影属性无效 关于同为object层,层级设置无效的问题 2.0 drawTexture color参数无效 matter.js mouseconstraint在微信小游戏中无效 3D动画混合无效 ColorFilter滤镜在遮罩下无...
来源: Laya_社区 发布时间: 20180531
...,完成后调用Loader.clearRes后,并不能真正释放资源的bug MeshSprite3D在加了physicsCollider和Rigidbody3D后,调用destroy会报错 有没有克隆控件的方法,prefab能否在代码上调用 调用frameLoop之后,怎么清除 如何在PC端浏览器的调试面板调用滚...
来源: Laya_社区 发布时间: 20210120
... //3D物件,正方体 var box = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(1, 1, 1))) as Laya.MeshSprite3D; box.transform.position = new Laya.Vector3(2.5, 1.5, 0); box.transform.rotation = new Laya.Quaternion(-0.373,-0.070,0.16,0.91); ...
来源: Laya_社区 发布时间: 20180119
...t laya.d3.core.BaseCamera; import laya.d3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.scene.Scene; import laya.d3.math.Vector3; import laya.d3.resource.TextureCube; import laya.d3.resource.models.Mesh; import laya.d3.resource.models.SkyBox; import laya.display.Stage; import la...
来源: Laya_示例 发布时间: 20260106
...DE的帧属性面板不见了 关于shader中opengl函数问题 lh文件内meshSprite添加阴影属性无效 1.7.20beta有bug,帧属性面板打不开 Text类中竟然没有pos函数的api~ 编辑器下HtmlDIVElement属性能否支持style选项设置 属性无法获取 执行回调函数时报is...
来源: Laya_社区 发布时间: 20170318
...Laya.Handler.create(null, function(mesh){ teapot = scene.addChild(new Laya.MeshSprite3D(mesh)); teapot.transform.position = new Laya.Vector3(0, 1.75, 2); teapot.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); })); //加载纹理 Laya.Texture2D.load("res/threeDimen/pbr/jinshu.jpg", Laya....
来源: Laya2.0_文档 发布时间: 20210715
...aya.Handler.create(null, function(mesh) { teapot = scene.addChild(new Laya.MeshSprite3D(mesh)); teapot.transform.position = new Laya.Vector3(0, 1.75, 2); teapot.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); })); //实例PBR材质 var pbrMat = new Laya.PBRStandardMaterial(); //开启...
来源: Laya2.0_文档 发布时间: 20210715
...efined at SkinAnimations.__proto._update (laya.d3.js:34002) at MeshSprite3D.__proto._updateComponents (laya.d3.js:21363) at MeshSprite3D.__proto._update (laya.d3.js:36715) at Scene.__proto._updateChilds (laya.d3.js:27736) at Scene.__proto._updateScene (laya.d3.js:27940)...
来源: Laya_社区 发布时间: 20180105
...ehouse1.transform.translate(new Laya.Vector3(-25,0,0),false); var warehouseMeshSprite3D1 :MeshSprite3D = warehouse1.getChildAt(0).getChildByName("Mesh1") as MeshSprite3D; //添加盒型碰撞器 var boxCollider:BoxCollider = warehouseMeshSprite3D1.addComponent(BoxCollider) as BoxCollider; boxCollide...
来源: Laya_社区 发布时间: 20171220