大约有 1,207 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)
Laya_社区(573) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(29)
...rimitiveMesh.createBox(0.5, 0.5, 0.5))); box.transform.position = new Laya.Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); //球体 var sphere = sprite3D.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(0.25, 20, 20))); sphere.transform.position...
来源: Laya2.0_文档 发布时间: 20210714
...cene.addChild(new Laya.SpointLight()); spointLight.ambientColor = new Laya.Vector3(0.8, 0.8, 0.8); spointLight.specularColor = new Laya.Vector3(2.0, 2.0, 0.9); spointLight.diffuseColor = new Laya.Vector3(1, 1, 1); spointLight.transform.translate(new Laya.Vector3(0, 30, 0)); spointLight.attenuation =...
来源: Laya_社区 发布时间: 20171106
...t laya.d3.core.scene.Scene; import laya.d3.math.RandX; import laya.d3.math.Vector3; import laya.d3.resource.Texture2D; import laya.d3.resource.TextureCube; import laya.d3.resource.models.BoxMesh; import laya.d3.resource.models.QuadMesh; import laya.d3.resource.models.SkyBox; import laya.display.Stag...
来源: Laya_社区 发布时间: 20170331
...Number 获取透明测试模式裁剪值。 BaseMaterial ambientColor : Vector3TerrainMaterial blend : int 获取混合方式。 TerrainMaterial blendDst : int 获取混合目标。 TerrainMaterial blendSrc : int 获取混合源。 TerrainMaterial cull : int 获取剔除方式。 Terr...
来源: Laya2.0_api 发布时间: 20190513
...类,但下面这么用一直没有东西,求指点 this.mousePos=new Vector2(MouseManager.instance.mouseX, MouseManager.instance.mouseY); camera.viewportPointToRay(this.mousePos,ray); this.ps.rayCast(ray,this.rayCastHit,500, 0); 2018-12-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20181220
...低起伏而改变,分享一下 //创建一条射线 ray2 = new Ray(new Vector3(0,0,0),new Vector3(0,-10,0)); //创建碰撞信息 rayCastHit2 =new RaycastHit(); //针循环 public function _update():void { //刷新人物位置,_position是缓动函数实时更新的坐标 roleMo...
来源: Laya_社区 发布时间: 20170828
...ties PropertyDefined By endColor : ColorPixelLineData endPosition : Vector3PixelLineData startColor : ColorPixelLineData startPosition : Vector3PixelLineDataPublic Methods MethodDefined By cloneTo(destObject:PixelLineData):void 克隆。 PixelLineDataProperty DetailendColorproperty...
来源: Laya2.0_api 发布时间: 20190513
...erties Show Inherited Public Properties PropertyDefined By inTangent : Vector4QuaternionKeyframe outTangent : Vector4QuaternionKeyframe time : Number时间。Keyframe value : QuaternionQuaternionKeyframePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefi...
来源: Laya2.0_api 发布时间: 20190513
...ngDetailTextureInfo normalTexture : StringDetailTextureInfo offset : Vector2DetailTextureInfo scale : Vector2DetailTextureInfoPublic Methods MethodDefined By DetailTextureInfo()DetailTextureInfoProperty DetaildiffuseTexturepropertypublic var diffuseTexture:StringnormalTextureproperty ...
来源: Laya2.0_api 发布时间: 20190513
...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