# ToString

> Returns a string representation of the RigidTransform.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Mathematics](/engine/6000.6/script-reference/unity/mathematics.md)
* **Assembly:** UnityEngine.MathematicsModule

## ToString()

Returns a string representation of the RigidTransform.

```csharp
public override string ToString()
```

### Returns

| Type                                                           | Description                                      |
| -------------------------------------------------------------- | ------------------------------------------------ |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The string representation of the RigidTransform. |

## ToString(string, IFormatProvider)

Returns a string representation of the RigidTransform using a specified format and culture-specific format information.

```csharp
public string ToString(string format, IFormatProvider formatProvider)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The format string.**** (\[IFormatProvider]\(https\://learn.microsoft.com/dotnet/api/system.iformatprovider)): The format provider to use during formatting.

### Returns

| Type                                                           | Description                                                |
| -------------------------------------------------------------- | ---------------------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The formatted string representation of the RigidTransform. |
