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

大约有 1,200 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0051 秒)

541. 使用layaAir3D从unity3D中导出场景模型时报错 [ 75%]

...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolea...

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

542. 3D模式下使用Tween使模型移动如何写法 [ 75%]

...h.meshRender.material = fishmaterial; fish.transform.localScale = new Laya.Vector3(0.001,0.001,0.001); fish.transform.localPosition = new Laya.Vector3(0,1,0); fish.transform.rotate(new Laya.Vector3(0,-Math.PI/2,0)); //移动鱼 Laya.Tween.to(fish,{x:-1},3000,Laya.Ease.linearIn,null) 这个Laya.Tween...

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

543. laya.d3.physics.shape.MeshColliderShape_API3.0 [ 75%]

...。 Parameters value: boolean Returns void localOffset get localOffset(): Vector3 set localOffset(value: Vector3): void Inherited from CompoundColliderShape.localOffset Defined in laya/d3/physics/shape/ColliderShape.ts:127 Shape的本地偏移。 Returns Vector3 Inherited from CompoundColliderShape....

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

544. Sprite3D的克隆(ActionScript-3D基础(AS3)-LayaAir3D之精灵) [ 75%]

...rite3D, parent: Node = null, worldPositionStays: Boolean = true, position: Vector3 = null, rotation: Quaternion = null): Sprite3D; ``` - original :原始精灵。 - parent:父节点。 - worldPositionStays: 是否保持自身世界变换。 - position:世界位置,worldPositionStays为false时生效...

来源: Laya2.0_文档 发布时间: 20210715

545. laya.d3.core.light.LightSprite [ 75%]

...chy : Boolean[read-only] 获取在场景中是否激活。 Node  color : Vector3 灯光颜色。 LightSprite destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node  diffuseColor : Vector3 获取灯光的漫反射颜色。 LightSprite displayedInStage : Bo...

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

546. 挂载物体的3D变换问题 [ 75%]

...prite3D=new MeshSprite3D(cylinderMesh); cylinder3D.transform.translate(new Vector3(3,0,0),true); cylinder3D.transform.localScale = new Vector3(2,2,2); cylinder3D.transform.localRotationEuler = new Vector3(90,90,90); role.getChildAt(0).addChild(cylinder3D); this.ani.linkSprite3D("weaponEffect",cylind...

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

547. 材质。相机显示异常问题 [ 75%]

...拉伸前后的, 代码处理: this.mHeader.transform.scale = new Laya.Vector3(1,1,3);   而我想要的效果是:   2018-04-17 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 gameuser 相关问题 laya针对页游耗用内存大...

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

548. Laya 3D里的Camera镜头默认朝向? [ 75%]

...头默认朝向在3D世界里是朝向那个方向呢?还有旋转镜头vector(-30,0,0)是沿着X轴向内还是向外旋转呢,哪个方向是正,哪个方向是负呢,初学者望指点一二。或者有没有入门的3D教程,官方的教程已经看了,不是指laya3d引擎的入门...

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

549. CommandBuffer使用文档(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 75%]

...script setShaderData//设置shader数据,可以设置shader中的texture vector number等 setGlobalShaderData//设置全局数据,可以用于所有的shader blitScreenQuad//通过全屏四边形将源纹理渲染到目标渲染纹理指令。 blitScreenQuadByMaterial//通过全屏四边形将...

来源: Laya2.0_文档 发布时间: 20210715

550. Point Light不能导出? [ 75%]

...Light = scene.addChild(new Laya.PointLight()); pointLight.color = new Laya.Vector3(0.1189446, 0.5907708, 0.7352941); pointLight.transform.position = new Laya.Vector3(0.4, 0.4, 0.0); pointLight.attenuation = new Laya.Vector3(0.0, 0.0, 3.0); pointLight.range = 3.0; 2017-12-19 0 4 分享 微博 QZONE ...

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