@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
23 lines (22 loc) • 988 B
TypeScript
import type { Vector2, Vector3, Vector4 } from "./math.vector.js";
/**
* Creates a string representation of the Vector2
* @param vector defines the Vector2 to stringify
* @param decimalCount defines the number of decimals to use
* @returns a string with the Vector2 coordinates.
*/
export declare function Vector2ToFixed(vector: Vector2, decimalCount: number): string;
/**
* Creates a string representation of the Vector3
* @param vector defines the Vector3 to stringify
* @param decimalCount defines the number of decimals to use
* @returns a string with the Vector3 coordinates.
*/
export declare function Vector3ToFixed(vector: Vector3, decimalCount: number): string;
/**
* Creates a string representation of the Vector4
* @param vector defines the Vector4 to stringify
* @param decimalCount defines the number of decimals to use
* @returns a string with the Vector4 coordinates.
*/
export declare function Vector4ToFixed(vector: Vector4, decimalCount: number): string;