大约有 402 项符合查询结果, 库内数据总量为 30,934 项。 (搜索耗时: 0.0038 秒)
...aya.SpotLight = new Laya.SpotLight(); let cube_: Laya.MeshSprite3D = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1)); let cube_2 = cube_.clone() as Laya.MeshSprite3D; scene_.addChild(cube_2); cube_2.transform...
来源: Laya_社区 发布时间: 20200506
...m.rotate(new Vector3(-30, 0, 0), true, false); //添加地板 var floor:MeshSprite3D = scene.addChild(new MeshSprite3D(PrimitiveMesh.createPlane(10, 2000, 100, 100))) as MeshSprite3D; //给地板添加物理组件 var floorCollicar:PhysicsCollider = floor.addComponent(PhysicsCollider); // 添加c...
来源: Laya_社区 发布时间: 20190417
...个组件不建议用, 用ainimator 更好, 如果用的话要加在MeshSprite3D 上。 不能直接加在Sprite3D 上。 2018-07-03 0 0 分享 微博 QZONE 微信 186*****530 赞同来自: 卧槽太牛逼了,官方教程和第三方以及引擎实例在旧版动画那边都用这个SkinAnim...
来源: Laya_社区 发布时间: 20180703
...ic onTriggerEnter(other:Laya.PhysicsComponent):void { ((this.owner as Laya.MeshSprite3D).meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = new Laya.Vector4(0.0, 1.0, 0.0, 1.0); } /** * 当其他碰撞器进入绑定物体碰撞器后逐帧触发(子弹在物品内时) * 注:如...
来源: Laya2.0_文档 发布时间: 20210715
...e public function onTriggerEnter(other:PhysicsComponent):void { ((owner as MeshSprite3D).meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = new Vector4(0.0, 1.0, 0.0, 1.0); } /** * 当其他碰撞器进入绑定物体碰撞器后逐帧触发(子弹在物品内时) * 注:如相对...
来源: Laya2.0_文档 发布时间: 20210714
...dingBox 2017-08-11 2 1 分享 微博 QZONE 微信 McGee 赞同来自: Laya.MeshSprite3D.prototype.meshRenderer,bounds 2019-07-08 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 sfsmmc 相关问题 请问有没有方法能够获取“鼠...
来源: Laya_社区 发布时间: 20170811
...义模型 var boxmesh=new Laya.BoxMesh(0.6, 0.6, 0.6); var box = new Laya.MeshSprite3D(boxmesh); scene.addChild(box); box.transform.translate(_position); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture...
来源: Laya_社区 发布时间: 20181126
...Extensions Extras Methods RegisterExtra UnRegisterExtra _createMesh _createMeshSprite3D _createSceneNode _createSkinnedMeshSprite3D _createSprite3D _createdefaultMaterial applyPBRMetallicRoughness applyTransform calSkinnedSpriteLocalBounds getAccessorComponentsNum getAnimationRoot getAttributeNum ge...
来源: Laya3.0_api 发布时间: 20231102
...需要注意三点: 1.场景中需要找到所有的需要接受阴影的MeshSprite3D类型节点,需要设置接受阴影 2.场景中需要找到所有可以产生阴影的节点,设置产生阴影,注意MeshSprite3D跟SkinnedMeshSprite3D的区别 3.场景中阴影设置,仔细观察几...
来源: Laya_社区 发布时间: 20180328
...面有个摄像机,和 Sprite3D ,而我按照你们的例子去获取MeshSprite3D 根本就没有 ! 1.如果可以贴 怎么实现,不行是不是我导出有问题 2.因为我这个是双面的 背面默认已经有了 ,怎么只贴一个面 (透明!) 我这个使用sprite3D...
来源: Laya_社区 发布时间: 20170907