@minecraft
    正在准备搜索索引...

    类 VectorXZBuilder

    VectorXZ wrapper class which can be used as a VectorXZ for APIs on @minecraft/server which require a VectorXZ.

    实现

    索引

    构造函数

    属性

    x: number
    z: number

    方法

    • scale

      Scales this by the passed in value, returning itself.

      参数

      • val: number

      返回 this

    • slerp

      Constructs a new vector using spherical linear interpolation on each component from two vectors.

      参数

      返回 this

    • Returns a string representation of an object.

      参数

      • 可选options: { decimals?: number; delimiter?: string }

      返回 string