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

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

61. stage.clientScaleX/Y这个值有什么用呢? [ 61%]

...7:15 我的这个情况我查了下 是改变了canvas标签的 transform: matrix(0, -0.5, 0.560504, 0, 0, 375) 而且我觉得无论改canvas或者stage都好... 他们拉伸的比例也是可以计算的吧.... 这个比例也是可以公开的吧..... 接口的公布和功能实现的方式我感...

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

62. laya.display.Stage [ 60%]

... timer : Timer时间控制器,默认为Laya.timer。Node  transform : Matrix[override] Stage viewport : Rectangle = null 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼...

来源: laya_api 发布时间: 20170929

63. laya.d3.utils.Utils3D_API3.0 [ 60%]

...erarchyPath billboardTrans createAffineTransformationArray getURLVerion mulMatrixByArray mulMatrixByArrayAndMatrixFast mulMatrixByArrayFast quaternionWeight transformQuat transformVector3ArrayByQuat transformVector3ArrayToVector3ArrayCoordinate transformVector3ArrayToVector3ArrayNormal uint8ArrayToA...

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

64. laya.d3.math.Vector4 [ 60%]

...个四维向量的差。 Vector4  transformByM4x4(vector4:Vector4, m4x4:Matrix4x4, out:Vector4):void[static] 通过4x4矩阵把一个四维向量转换为另一个四维向量 Vector4Property Detailelementspropertypublic var elements:*四维向量元素数组ONEproperty public static var ONE:Vect...

来源: laya_api 发布时间: 20170929

65. laya.display.Sprite [ 59%]

... timer : Timer时间控制器,默认为Laya.timer。Node  transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite  viewport : Rectangle = null 视口大小,视口外的子对象,将不被渲...

来源: laya_api 发布时间: 20170929

66. laya.d3.math.Vector4 [ 59%]

...个四维向量的差。 Vector4  transformByM4x4(vector4:Vector4, m4x4:Matrix4x4, out:Vector4):void[static] 通过4x4矩阵把一个四维向量转换为另一个四维向量 Vector4Property DetailONEpropertypublic static var ONE:Vector4UnitWproperty public static var UnitW:Vector4UnitXproperty...

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

67. laya.display.Sprite [ 59%]

...片地址,则会自动加载图片,然后显示 Sprite  transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite  viewport : Rectangle 视口大小,视口外的子对象,将不被渲染(如...

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

68. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 59%]

...nLight; //设置平行光的方向 var mat = directionLight.transform.worldMatrix as Laya.Matrix4x4; mat.setForward(new Laya.Vector3(-1.0, -1.0, -1.0)); directionLight.transform.worldMatrix=mat; this.sprite3D = scene.addChild(new Laya.Sprite3D()) as Laya.Sprite3D; //正方体 var box = this.sprite3D...

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

69. 3D如何计算反射线的向量? [ 59%]

...阵转换为另外一个向量, Laya.Vector3.transformV3ToV3(direction,matrix,outVector) 目前的问题就是怎么通过法线向量normal获得它对应的矩阵?​ 最终的结果就是求得反射线的向量。 2020-01-13 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有...

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

70. 屏幕适配 · LayaAir3.3 · 引擎文档 · LAYABOX [ 58%]

...则,计算出适配宽高需要缩放的比例,然后通过transform的matrix(矩阵)来对画布缩放至逻辑宽高的分辨率范围内,再通过DPR机制缩放还原。 基于以上种种,我们需要了解,适配宽高才是LayaAir引擎适配规则处理后的最终效果宽高...

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