# SceneNodeBounds(SceneNode)

> Computes a pretty accurate approximation of the scene bounds.

## Definition

* **Type:** Method
* **Namespace:** [Unity.VectorGraphics](/engine/6000.7/script-reference/unity/vectorgraphics.md)
* **Assembly:** UnityEngine.VectorGraphicsModule

```csharp
public static Rect SceneNodeBounds(SceneNode root)
```

### Parameters

**** (\[SceneNode]\(/engine/6000.7/script-reference/unity/vectorgraphics/scenenode)): The root node of the hierarchy to computes the bounds from

### Returns

| Type                                                        | Description                                                      |
| ----------------------------------------------------------- | ---------------------------------------------------------------- |
| [Rect](/engine/6000.7/script-reference/unityengine/rect.md) | An approximation of the node hierarchy axis-aligned bounding-box |

### Remarks

This will properly evaluate the bounds of the paths and shapes, but will ignore the paths stroke widths.
