# PhysicsBody.BatchTransform

> A batch item used to get/set the pose of a PhysicsBody.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.U2D.Physics](/engine/6000.7/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule
* **Implements:** [IEquatable\<BatchTransform>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public struct PhysicsBody.BatchTransform : IEquatable<PhysicsBody.BatchTransform>
```

## Constructors

| Constructor                                                                                                                           | Description                                                                                                                      |
| ------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| [BatchTransform(Unity.U2D.Physics.PhysicsBody)](/engine/6000.7/script-reference/unity/u2d/physics/physicsbody/batchtransform/ctor.md) | Create a default batch transform, assigning the [PhysicsBody](/engine/6000.7/script-reference/unity/u2d/physics/physicsbody.md). |

## Properties

| Property                                                                                                   | Description                                                                                                                                                  |
| ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [physicsBody](/engine/6000.7/script-reference/unity/u2d/physics/physicsbody/batchtransform/physicsbody.md) | The [PhysicsBody](/engine/6000.7/script-reference/unity/u2d/physics/physicsbody.md) to write to.                                                             |
| [position](/engine/6000.7/script-reference/unity/u2d/physics/physicsbody/batchtransform/position.md)       | The position of the body in the world. [\_position](/engine/6000.7/script-reference/unity/u2d/physics/physicsbody/position.md).                              |
| [rotation](/engine/6000.7/script-reference/unity/u2d/physics/physicsbody/batchtransform/rotation.md)       | The rotation of the body. [\_rotation](/engine/6000.7/script-reference/unity/u2d/physics/physicsbody/rotation.md).                                           |
| [transform](/engine/6000.7/script-reference/unity/u2d/physics/physicsbody/batchtransform/transform.md)     | The full transform of the body composed of position and rotation. [\_transform](/engine/6000.7/script-reference/unity/u2d/physics/physicsbody/transform.md). |
