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

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

61. 陀螺仪与加速计 · LayaAir3.4 · 引擎文档 · LAYABOX [ 73%]

...lean, rotationInfo: Laya.RotationInfo): void { this.info.text = "alpha:" + Math.floor(rotationInfo.alpha) + '\n' + "beta :" + Math.floor(rotationInfo.beta) + '\n' + "gamma:" + Math.floor(rotationInfo.gamma); } } new Gyroscope_Sample(); 2、加速计 ​ Accelerator类定期发送设备的运动传...

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

62. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 68%]

...llLights[i]; for (let layer = 0; layer < 32; ++layer) { let layerMask = Math.pow(2,layer); light.active = (camera.cullingMask & layerMask) && (light.cullingMask & layerMask); if (light.active) { break; } } } scene._prepareSceneToRender(); //灯光处理结束 麒麟子添加 } } p...

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

63. laya.d3.math.Matrix3x3 [ 68%]

...ames No Frames Matrix3x3Properties | Methods | Constants Packagelaya.d3.mathClasspublic class Matrix3x3InheritanceMatrix3x3 ObjectImplements laya.d3.core.IClone Matrix3x3 类用于创建3x3矩阵。 Public Properties PropertyDefined By  elements : Float32Array矩阵元素数组Matrix3x3Public ...

来源: laya_api 发布时间: 20170929

64. laya.d3.math.Matrix3x3 [ 68%]

...ames No Frames Matrix3x3Properties | Methods | Constants Packagelaya.d3.mathClasspublic class Matrix3x3InheritanceMatrix3x3 ObjectImplements laya.d3.core.IClone Matrix3x3 类用于创建3x3矩阵。 Public Properties PropertyDefined By  elements : Float32Array矩阵元素数组Matrix3x3Public ...

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

65. laya.d3.math.OrientedBoundBox [ 67%]

...| Frames No Frames OrientedBoundBoxProperties | Methods Packagelaya.d3.mathClasspublic class OrientedBoundBoxInheritanceOrientedBoundBox Object OrientedBoundBox 类用于创建OBB包围盒。 Public Properties PropertyDefined By  extents : Vector3每个轴长度的一半OrientedBoundBox  tra...

来源: laya_api 发布时间: 20170929

66. 3D灯光与阴影 · LayaAir3.4 · 引擎文档 · LAYABOX [ 67%]

...,Z值会影响Cluster接受区域光(点光、聚光)影响的数量,Math.floor(2048 / lightClusterCount.z - 1) * 4 为每个Cluster的最大平均接受区域光数量,如果每个Cluster所接受光源影响的平均数量大于该值,则较远的Cluster会忽略其中多余的光照影响...

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

67. laya.d3.math.OrientedBoundBox [ 67%]

...| Frames No Frames OrientedBoundBoxProperties | Methods Packagelaya.d3.mathClasspublic class OrientedBoundBoxInheritanceOrientedBoundBox Object OrientedBoundBox 类用于创建OBB包围盒。 Public Properties PropertyDefined By  extents : Vector3每个轴长度的一半OrientedBoundBox  tra...

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

68. laya.maths.Rectangle [ 66%]

...Frames No Frames RectangleProperties | Methods | Constants Packagelaya.mathsClasspublic class RectangleInheritanceRectangle Object Rectangle 对象是按其位置(由它左上角的点 (x, y) 确定)以及宽度和高度定义的区域。 Rectangle 类的 x、y、width 和 height 属性相互...

来源: laya_api 发布时间: 20170929

69. laya.maths.Rectangle [ 66%]

...Frames No Frames RectangleProperties | Methods | Constants Packagelaya.mathsClasspublic class RectangleInheritanceRectangle Object Rectangle 对象是按其位置(由它左上角的点 (x, y) 确定)以及宽度和高度定义的区域。 Rectangle 类的 x、y、width 和 height 属性相互...

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

70. laya.d3.math.Native.ConchVector4 [ 65%]

...dex | Frames No Frames ConchVector4Properties | Methods Packagelaya.d3.math.NativeClasspublic class ConchVector4InheritanceConchVector4 ObjectImplements laya.d3.core.IClone Vector4 类用于创建四维向量。 Public Properties PropertyDefined By  elements : Float32Array[只读]向量元素...

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