extents of a textmesh.

Is there any way to get the extents of a text mesh?

I want to be able to know if it extends out of the camera view.

thanks.

anybody?

You can get an approximation using the mesh’s renderer.bounds box. If the mesh is aligned with the world axes, this will be very accurate.