Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ToString

Returns a string representation of the quaternion.
Read time 1 minuteLast updated 12 days ago

Definition

ToString()

Returns a string representation of the quaternion.
public override string ToString()

Returns

Type

Description

stringThe string representation of the quaternion.

ToString(string, IFormatProvider)

Returns a string representation of the quaternion using a specified format and culture-specific format information.
public string ToString(string format, IFormatProvider formatProvider)

Parameters

format

The format string.

formatProvider

The format provider to use during string formatting.

Returns

Type

Description

stringThe formatted string representation of the quaternion.