大约有 4 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0017 秒)
...返回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
...用旋转转换。 Parameters angle:Number — 以弧度为单位的旋转角度。 ReturnsMatrix — 返回矩阵对象本身 scale()method public function scale(x:Number, y:Number):Matrix 对矩阵应用缩放转换。 Parameters x:Number — 用于沿 x 轴缩放对象的乘数。 y:Number ...
来源: 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