大约有 6 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0021 秒)
...返回0。 Utils toAngle(radian:Number):Number[static] 弧度转换为角度。 Utils toHexColor(color:Number):String[static] 将传入的 uint 类型颜色值转换为字符串型颜色值。 Utils toRadian(angle:Number):Number[static] 角度转弧度。 UtilsProperty DetailparseXMLFromStr...
来源: Laya2.0_api 发布时间: 20190513
...旋转命令 Public Properties PropertyDefined By angle : Number 旋转角度,以弧度计。 RotateCmd pivotX : Number (可选)水平方向轴心点坐标。 RotateCmd pivotY : Number (可选)垂直方向轴心点坐标。 RotateCmdPublic Methods MethodDefined By recover():...
来源: Laya2.0_api 发布时间: 20190513
...用旋转转换。 Parameters angle:Number — 以弧度为单位的旋转角度。 ReturnsMatrix — 返回矩阵对象本身 scale()method public function scale(x:Number, y:Number):Matrix 对矩阵应用缩放转换。 Parameters x:Number — 用于沿 x 轴缩放对象的乘数。 y:Number ...
来源: Laya2.0_api 发布时间: 20190513
...转。 Transform3D rotationEuler : Vector3 获取世界空间的旋转角度。 Transform3D scale : Vector3 获取世界缩放。 Transform3D worldMatrix : Matrix4x4 获取世界矩阵。 Transform3D worldNeedUpdate : Boolean[read-only] 获取世界矩阵是否需要更新。 Transform3D...
来源: Laya2.0_api 发布时间: 20190513
...使用时重写覆盖即可 Component setAngle(value:Object):void 设置角度 RigidBody setVelocity(velocity:Object):void 设置速度,比如{x:10,y:10} RigidBodyProtected Methods MethodDefined By _onAwake():void[override] RigidBody _onDisable():void[override] RigidBody _onEnable...
来源: Laya2.0_api 发布时间: 20190513
...置。 radius:Number — 扇形半径。 startAngle:Number — 开始角度。 endAngle:Number — 结束角度。 fillColor:* — 填充颜色,或者填充绘图的渐变对象。 lineColor:* (default = null) — (可选)边框颜色,或者填充绘图的渐变对象。 lineWidt...
来源: Laya2.0_api 发布时间: 20190513