void BoxComponent::BoxFromMesh(MeshPtr mesh) { mModelSpaceBounds = mesh->GetBoundingBox(); OnUpdatedTransform(); }