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

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

251. 修改position与修改localPosition结果不一致(同处于3d场景下的两个节点) [ 85%]

...h.createBox(1, 1, 1))) as Laya.MeshSprite3D; box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material: Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function (tex: Laya.Texture2D) { material.albedoTexture...

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

252. 通过PrimitiveMesh创建简单Mesh(ActionScript-3D基础(AS3)-LayaAir3D之模型和网格) [ 84%]

...h.createBox(0.5, 0.5, 0.5))) as MeshSprite3D; box.transform.position = new Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Vector3(0, 45, 0), false, false); //球体 var sphere:MeshSprite3D = sprite3D.addChild(new MeshSprite3D(PrimitiveMesh.createSphere(0.25, 20, 20))) as MeshSprite3D; sphere.tran...

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

253. laya.d3.physics.shape.StaticPlaneColliderShape [ 84%]

...erties Show Inherited Public Properties PropertyDefined By localOffset : Vector3 获取Shape的本地偏移。 ColliderShape localRotation : Quaternion 获取Shape的本地旋转。 ColliderShape needsCustomCollisionCallback : Boolean = falseColliderShape type : int[read-only] 获取碰撞类...

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

254. laya.d3.core.particleShuriKen.ShurikenParticleSystem [ 84%]

...,1模式。ShurikenParticleSystem  startRotationConstantMaxSeparate : Vector3最大开始三维旋转,1模式。ShurikenParticleSystem  startRotationConstantMin : Number最小开始旋转,1模式。ShurikenParticleSystem  startRotationConstantMinSeparate : Vector3最小开始三维旋转...

来源: laya_api 发布时间: 20170929

255. laya.d3.graphics.VertexElementFormat [ 84%]

...ElementFormat  Vector2 : String = vector2[static] VertexElementFormat  Vector3 : String = vector3[static] VertexElementFormat  Vector4 : String = vector4[static] VertexElementFormatMethod DetailgetElementInfos()method public static function getElementInfos(element:String):Array 获取顶点元...

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

256. 3D的点光源或者聚光灯的光源会穿透模型 [ 84%]

...ne_.addChild(cube_2);         cube_2.transform.translate(new Laya.Vector3(0,0,-5));         scene_.addChild(spotLight_);         scene_.addChild(camera_);         scene_.addChild(cube_);         Laya.stage.addChild(scene_);         cube_.transform.tra...

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

257. unity导出的场景不显示实时阴影 [ 84%]

...ya.DirectionLight) as Laya.DirectionLight; light.transform.rotate(new Laya.Vector3(-120, 0, 0), false, false); light.shadow = true; light.shadowDistance = 150; light.shadowResolution = 2048; light.shadowPSSMCount = 1; light.shadowPCFType = 3;  let plane: Laya.MeshSprite3D = scene.addChild(new Laya....

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

258. Cannot read property 'rayCast' of undefined [ 84%]

...ene extends Laya.Script { constructor(){ super(); this.rotation = new Laya.Vector3(0, 0.01, 0); this.point = new Laya.Vector2(); this.ray = new Laya.Ray(new Laya.Vector3(),new Laya.Vector3()); //1.开启第四个参数 let config3D = new Laya.Config3D(); config3D.isAlpha = true; Laya3D.init(0, 0, co...

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

259. 3D基础显示对象 · LayaAir3.0文档 · LAYABOX [ 84%]

...his.scene.addChild(box); // 设置位置 box.transform.position = new Laya.Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); /* 球体 */ let sphere = new Laya.Sprite3D; let sphereMesh = sphere.addComponent(Laya.MeshFilter); let sphereRender = sphere.addCompone...

来源: Laya3.0_文档 发布时间: 20240624

260. laya3D导入动画材质在安卓手机和电脑上显示正常,在苹果手机显示异常 [ 84%]

...e3D(); Laya.stage.addChild(this.scene); this.scene.ambientColor = new Laya.Vector3(0.5, 0.5, 0.5); //初始化相机 var camera = new Laya.Camera(0, 0.1, 100); this.scene.addChild(camera); camera.transform.translate(new Laya.Vector3(0, 3, 5)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), tr...

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