setLocalBounds method
void
setLocalBounds(
- Aabb3? aabb,
- 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++;
}