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

    类 VectorXZUtils

    Utilities operating on VectorXZ objects. All methods are static and do not modify the input objects.

    索引

    构造函数

    方法

    • fromString

      Gets a VectorXZ from the string representation produced by VectorXZUtils.toString. If any numeric value is not a number or the format is invalid, undefined is returned.

      参数

      • str: string

        The string to parse

      • 可选delimiter: string

        The delimiter used to separate the components. Defaults to the same as the default for VectorXZUtils.toString

      返回 VectorXZ

    • toString

      Create a string representation of a vectorxz

      参数

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

      返回 string