# Curvature

> Bi-axial curvature applied to a visual element's generated mesh. The element bends around its X axis by _x (curving the vertical extent) and around its Y axis by _y (curving the horizontal extent); the sign of each angle selects concave vs. convex.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule
* **Implements:** [IEquatable\<Curvature>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public struct Curvature : IEquatable<Curvature>
```

## Remarks

Curvature describes surface shape only — placement and orientation still come from the element's transform. It is only visually meaningful on world-space panels.

## Constructors

| Constructor                                                                                                                                                               | Description                                                                                                               |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| [Curvature(UnityEngine.UIElements.Angle)](/engine/6000.7/script-reference/unityengine/uielements/curvature/ctor.md#curvature\(angle\))                                    | Create a Curvature that bends around the X axis by the given angle (curving the vertical extent), flat around the Y axis. |
| [Curvature(UnityEngine.UIElements.Angle,UnityEngine.UIElements.Angle)](/engine/6000.7/script-reference/unityengine/uielements/curvature/ctor.md#curvature\(angle-angle\)) | Create a Curvature that bends by the given angles around the X (x) and Y (y) axes.                                        |

## Properties

| Property                                                                   | Description                                                                                          |
| -------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| [x](/engine/6000.7/script-reference/unityengine/uielements/curvature/x.md) | The bend angle around the X axis. The vertical extent curves; the sign selects concave vs. convex.   |
| [y](/engine/6000.7/script-reference/unityengine/uielements/curvature/y.md) | The bend angle around the Y axis. The horizontal extent curves; the sign selects concave vs. convex. |

## Static Methods

| Method                                                                           | Description                                      |
| -------------------------------------------------------------------------------- | ------------------------------------------------ |
| [None](/engine/6000.7/script-reference/unityengine/uielements/curvature/none.md) | Returns a Curvature that applies no bend (flat). |
