# MeshTransform(in MeshId, ulong, in Vector3, in Quaternion, in Vector3)

> Creates a new MeshTransform.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.XR](/engine/6000.0/script-reference/unityengine/xr.md)
* **Assembly:** UnityEngine.XRModule

## MeshTransform(MeshId, ulong, Vector3, Quaternion, Vector3)

```csharp
public MeshTransform(in MeshId meshId, ulong timestamp, in Vector3 position, in Quaternion rotation, in Vector3 scale)
```

### Parameters

**** (\[MeshId]\(/engine/6000.0/script-reference/unityengine/xr/meshid)): The identifier of the mesh.**** (\[ulong]\(https\://learn.microsoft.com/dotnet/api/system.uint64)): The timestamp for the mesh's transform. Larger values indicate newer transforms.**** (\[Vector3]\(/engine/6000.0/script-reference/unityengine/vector3)): The position of the mesh relative to the session origin.**** (\[Quaternion]\(/engine/6000.0/script-reference/unityengine/quaternion)): The rotation of the mesh relative to the session origin.**** (\[Vector3]\(/engine/6000.0/script-reference/unityengine/vector3)): The scale of the mesh relative to the session origin.
