# PhysicsWorld.TransformPlaneCustom

> A transformation applied to the transform write if _transformPlane is set to PhysicsWorld.TransformPlane.Custom.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.U2D.Physics](/engine/6000.6/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule
* **Implements:** [ISerializationCallbackReceiver](/engine/6000.6/script-reference/unityengine/iserializationcallbackreceiver.md)

```csharp
public struct PhysicsWorld.TransformPlaneCustom : ISerializationCallbackReceiver
```

## Constructors

| Constructor                                                                                                                                                                                                              | Description                                  |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------- |
| [TransformPlaneCustom()](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/transformplanecustom/ctor.md#transformplanecustom\(\))                                                                           | Create a transform plane custom as identity. |
| [TransformPlaneCustom(UnityEngine.Vector3,UnityEngine.Vector3,System.Single)](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/transformplanecustom/ctor.md#transformplanecustom\(vector3-vector3-float\)) | Create a transform plane custom.             |

## Properties

| Property                                                                                                        | Description                                                                                                                                                                 |
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [fromCustom](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/transformplanecustom/fromcustom.md) | Get the custom matrix defining how to transform from the custom world-space to the [PhysicsWorld](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld.md) space. |
| [rotate](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/transformplanecustom/rotate.md)         | Get the custom rotation.                                                                                                                                                    |
| [scale](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/transformplanecustom/scale.md)           | Get the uniform scale.                                                                                                                                                      |
| [toCustom](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/transformplanecustom/tocustom.md)     | Get the custom matrix defining how to transform from [PhysicsWorld](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld.md) space to the custom world-space.     |
| [translate](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/transformplanecustom/translate.md)   | Get the custom translation.                                                                                                                                                 |

## Methods

| Method                                                                                                              | Description                                                                                                                                              |
| ------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [FromPosition](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/transformplanecustom/fromposition.md) | Transform from a 3D custom world-space position back to a 2D [PhysicsWorld](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld.md) position. |
| [ToPosition](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld/transformplanecustom/toposition.md)     | Transform a 2D [PhysicsWorld](/engine/6000.6/script-reference/unity/u2d/physics/physicsworld.md) position to a 3D custom world-space position.           |
