setLocalBounds method

void setLocalBounds(
  1. Aabb3? aabb,
  2. Sphere? sphere
)

Override the bounds. Useful for callers driving setVertices from a caller-managed gpu.DeviceBuffer who want to participate in bounds-driven scene queries (e.g. frustum culling).

Implementation

void setLocalBounds(vm.Aabb3? aabb, vm.Sphere? sphere) {
  _localBounds = aabb;
  _localBoundingSphere = sphere;
  _localBoundsVersion++;
}