Documentation

Unity Engine

Download Unity

Unity Engine

ToString

Converts the quaternion4 to a string.
Read time 1 minuteLast updated 5 hours ago

Definition

ToString()

Converts the quaternion4 to a string.
[ExcludeFromBurstCompatTesting("Returns managed string")]public override string ToString()

Returns

Type

Description

stringA string that lists the x, y, z, and w components of lane 0, then those of lane 1, lane 2, and lane 3.

ToString(string, IFormatProvider)

Converts the quaternion4 to a string, using a format for each component.
[ExcludeFromBurstCompatTesting("Returns managed string")]public string ToString(string format, IFormatProvider formatProvider)

Parameters

format

The numeric format string to apply to each component.

formatProvider

The object that provides culture-specific formatting information.

Returns

Type

Description

stringA string that lists the x, y, z, and w components of lane 0, then those of lane 1, lane 2, and lane 3.