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

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

241. laya.d3.graphics.VertexElementFormat [ 85%]

...ElementFormat  Vector2 : String = vector2[static] VertexElementFormat  Vector3 : String = vector3[static] VertexElementFormat  Vector4 : String = vector4[static] VertexElementFormatConstant DetailByte4Constantpublic static const Byte4:String = byte4ColorConstant public static const Color:Stri...

来源: laya_api 发布时间: 20170929

242. laya.d3.core.pixelLine.PixelLineData [ 85%]

...ties PropertyDefined By  endColor : ColorPixelLineData  endPosition : Vector3PixelLineData  startColor : ColorPixelLineData  startPosition : Vector3PixelLineDataPublic Methods  MethodDefined By  cloneTo(destObject:PixelLineData):void 克隆。 PixelLineDataProperty DetailendColorproperty...

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

243. laya.d3.terrain.unit.MaterialInfo [ 85%]

...形材质信息。 Public Properties PropertyDefined By  ambientColor : Vector3MaterialInfo  diffuseColor : Vector3MaterialInfo  specularColor : Vector4MaterialInfoPublic Methods  MethodDefined By  MaterialInfo()MaterialInfoProperty DetailambientColorpropertypublic var ambientColor:Vector3...

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

244. laya.d3.physics.HitResult [ 85%]

...itResult  hitFraction : Number = 0 碰撞分数。 HitResult  normal : Vector3 碰撞法线。HitResult  point : Vector3 碰撞点。HitResult  succeeded : Boolean = false 是否成功。 HitResultPublic Methods  MethodDefined By  HitResult() 创建一个 HitResult 实例。 HitResultProp...

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

245. position -position应该怎么写?? [ 85%]

...ansform.position; console.log(viewDir); lineMesh.transform.lookAt(new Laya.Vector3(3, 3, 3), viewDir, true); } 2017-06-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 183*****755 赞同来自: laya.d3.math.Vecto...

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

246. 修改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

247. 关于射线碰撞的问题,对于射线的罗辑方式不太了解,懂得进来帮忙看一下!~~~~~~~~~~ [ 85%]

...低起伏而改变,分享一下 //创建一条射线 ray2 = new Ray(new Vector3(0,0,0),new Vector3(0,-10,0)); //创建碰撞信息 rayCastHit2 =new RaycastHit();   //针循环 public function _update():void {     //刷新人物位置,_position是缓动函数实时更新的坐标     roleMo...

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

248. laya.d3.physics.shape.StaticPlaneColliderShape [ 85%]

...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

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

...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

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

...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