---
title: "boundingBox(atTime:)"
framework: modelio
role: symbol
role_heading: Instance Method
path: "modelio/mdlasset/boundingbox(attime:)"
---

# boundingBox(atTime:)

Returns the minimum region entirely enclosing the asset’s contents at the specified time sample.

## Declaration

```swift
func boundingBox(atTime time: TimeInterval) -> MDLAxisAlignedBoundingBox
```

## Parameters

- `time`: A timestamp referring to timed information in the asset.

## Return Value

Return Value The asset’s bounding box as of the specified time sample.

## Discussion

Discussion If an asset does not contain timed information, calling this method with any time sample is equivalent to reading the boundingBox property. All assets can provide bounding box information without traversing their hierarchy of objects.

## See Also

### Working with Asset Content

- [object(at:)](modelio/mdlasset/object(at:).md)
- [subscript(_:)](modelio/mdlasset/subscript(_:).md)
- [count](modelio/mdlasset/count.md)
- [childObjects(of:)](modelio/mdlasset/childobjects(of:).md)
- [add(_:)](modelio/mdlasset/add(_:).md)
- [remove(_:)](modelio/mdlasset/remove(_:).md)
- [boundingBox](modelio/mdlasset/boundingbox.md)
- [url](modelio/mdlasset/url.md)
- [bufferAllocator](modelio/mdlasset/bufferallocator.md)
- [vertexDescriptor](modelio/mdlasset/vertexdescriptor.md)
- [masters](modelio/mdlasset/masters.md)
