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

大约有 275 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)

21. Laya.Vector3小数的问题,很奇怪啊 [ 93%]

Laya.Vector3小数的问题,很奇怪啊 var v: Laya.Vector3 = new Laya.Vector3(1.1069, 0, 0);  console.log(v.x);   输出:1.1068999767303467 而不是1.1069   我想保留2位或3位小数,不管你怎么设置,然而始终无效。1.1068999767303467   怎么解? 2019-03-06 添加评...

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

22. laya.d3.graphics.VertexPositionNormalColorSkinTangent [ 93%]

...olor : Vector4[read-only] VertexPositionNormalColorSkinTangent  normal : Vector3[read-only] VertexPositionNormalColorSkinTangent  position : Vector3[read-only] VertexPositionNormalColorSkinTangent  tangent : Vector4[read-only] VertexPositionNormalColorSkinTangent  vertexDeclaration : VertexD...

来源: laya_api 发布时间: 20170929

23. laya.d3.graphics.VertexPositionNormalColorTextureSkin [ 93%]

...olor : Vector4[read-only] VertexPositionNormalColorTextureSkin  normal : Vector3[read-only] VertexPositionNormalColorTextureSkin  position : Vector3[read-only] VertexPositionNormalColorTextureSkin  textureCoordinate : Vector2[read-only] VertexPositionNormalColorTextureSkin  vertexDeclaration...

来源: laya_api 发布时间: 20170929

24. laya.d3.graphics.VertexPositionNormalColorTexture0Texture1Tangent [ 93%]

...r4[read-only] VertexPositionNormalColorTexture0Texture1Tangent  normal : Vector3[read-only] VertexPositionNormalColorTexture0Texture1Tangent  position : Vector3[read-only] VertexPositionNormalColorTexture0Texture1Tangent  tangent : Vector3[read-only] VertexPositionNormalColorTexture0Texture1Ta...

来源: laya_api 发布时间: 20170929

25. Laya.Vector3.lerp的问题 [ 92%]

Laya.Vector3.lerp的问题   为啥第三个参数不一样  输出会一样呢? 附件 : --> 2016-11-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: Zero是静态变量     1.静...

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

26. Vector3 是不是有个BUG?@版主 [ 92%]

Vector3 是不是有个BUG?@版主 Vector3.equals 这个是对比两个3维坐标是否相同 我发现 new Vector3(1, 1, 1) 与 new Vector3(-1, -1, -1)  是相同的,后来我断点跟进去发现,该方法内调用 MathUtils3D.nearEqual的时候,全部采用 绝对值,那么 把绝对...

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

27. laya.d3.core.pixelline.PixelLineData_API3.0 [ 92%]

...ore/pixelLine/PixelLineData.ts:15 线结束颜色 endPosition endPosition: Vector3 = new Vector3() Defined in laya/d3/core/pixelLine/PixelLineData.ts:11 线结束位置 startColor startColor: Color = new Color() Defined in laya/d3/core/pixelLine/PixelLineData.ts:13 线开始颜色 startPosition star...

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

28. laya.d3.graphics.VertexPositionNormalColorTexture0Texture1 [ 92%]

...: Vector4[read-only] VertexPositionNormalColorTexture0Texture1  normal : Vector3[read-only] VertexPositionNormalColorTexture0Texture1  position : Vector3[read-only] VertexPositionNormalColorTexture0Texture1  textureCoordinate0 : Vector2[read-only] VertexPositionNormalColorTexture0Texture1  t...

来源: laya_api 发布时间: 20170929

29. laya.d3.core.material.StandardMaterial [ 92%]

...Number 获取透明测试模式裁剪值。 BaseMaterial  ambientColor : Vector3 设置环境光颜色。 StandardMaterial  ambientTexture : BaseTexture 获取环境贴图。 StandardMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial ble...

来源: laya_api 发布时间: 20170929

30. laya默认模型的阴影没有渲染 [ 92%]

...Child(new Laya.Camera(0, 0.1, 1000))); camera.transform.translate(new Laya.Vector3(0, 5, 0)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor = null; //添加方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya...

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