大约有 540 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0109 秒)
...``` 关于旋转,在Transform3D中提供了两种旋转接口,一种是角度/弧度旋转`rotate`,还一种是欧拉角旋转`localRotationEuler:Vector3`。 (图1) 为了方便观察效果节选了官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch...
来源: Laya2.0_文档 发布时间: 20210714
...: Number = 0相对于地图Y轴的坐标GridSprite rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : NumberX轴缩放值,默认值为1。设置为负数,可以实现水平反转效果,比如scaleX=-1。Sprite scaleY : NumberY轴缩放值,默认值为1。...
来源: Laya2.0_api 发布时间: 20190513
...象位置,缩放中心,旋转中心。Sprite rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : NumberX轴缩放值,默认值为1。设置为负数,可以实现水平反转效果,比如scaleX=-1。Sprite scaleY : NumberY轴缩放值,默认值为1。...
来源: laya_api 发布时间: 20170422
...out: Matrix3x3): void Defined in laya/d3/math/Matrix3x3.ts:221 根据指定角度旋转3x3矩阵 Parameters rad: number 旋转角度 out: Matrix3x3 输出矩阵 Returns void scale scale(scale: Vector2, out: Matrix3x3): void Defined in laya/d3/math/Matrix3x3.ts:250 根据制定缩放3x3矩阵 Paramet...
来源: Laya3.0_api 发布时间: 20231102
...``` 关于旋转,在Transform3D中提供了两种旋转接口,一种是角度/弧度旋转`rotate`,还一种是欧拉角旋转`localRotationEuler:Vector3`。 (图1) 为了方便观察效果节选了官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch...
来源: Laya2.0_文档 发布时间: 20210715
...alRotationEuler的问题 从unity导入的场景,场景里物体的初始角度localRotationEuler为(90,0,0),在onStart或者OnAwake里面改变localRotationEulerY为90时,旋转的位置不对,打印出来的角度是(0,90,0)。但如果在改变localRotationEulerY之前打印一下localRot...
来源: Laya_社区 发布时间: 20210806
...平距离(以像素为单位)。 UIComponent rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : Number[override] X轴缩放值,默认值为1。设置为负数,可以实现水平反转效果,比如scaleX=-1。UIComponent scaleY : Number[override] Y轴缩...
来源: Laya2.0_api 发布时间: 20190513
...象位置,缩放中心,旋转中心。Sprite rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : NumberX轴缩放值,默认值为1。设置为负数,可以实现水平反转效果,比如scaleX=-1。Sprite scaleY : NumberY轴缩放值,默认值为1。...
来源: laya_api 发布时间: 20170929
...平距离(以像素为单位)。 UIComponent rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : Number[override] X轴缩放值,默认值为1。设置为负数,可以实现水平反转效果,比如scaleX=-1。UIComponent scaleY : Number[override] Y轴缩...
来源: Laya2.0_api 发布时间: 20190513
...平距离(以像素为单位)。 UIComponent rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : Number[override] X轴缩放值,默认值为1。设置为负数,可以实现水平反转效果,比如scaleX=-1。UIComponent scaleY : Number[override] Y轴缩...
来源: Laya2.0_api 发布时间: 20190513