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

大约有 4 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0017 秒)

1. laya.utils.Utils [ 100%]

...返回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

2. laya.maths.Matrix [ 59%]

...用旋转转换。 Parameters angle:Number — 以弧度为单位的旋转角度。 ReturnsMatrix — 返回矩阵对象本身 scale()method  public function scale(x:Number, y:Number):Matrix 对矩阵应用缩放转换。 Parameters x:Number — 用于沿 x 轴缩放对象的乘数。  y:Number ...

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

3. laya.physics.RigidBody [ 42%]

...使用时重写覆盖即可 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

4. laya.display.Graphics [ 40%]

...置。  radius:Number — 扇形半径。  startAngle:Number — 开始角度。  endAngle:Number — 结束角度。  fillColor:* — 填充颜色,或者填充绘图的渐变对象。  lineColor:* (default = null) — (可选)边框颜色,或者填充绘图的渐变对象。  lineWidt...

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