Environment.UpdateBoundingBox Method

Computes the scene bounding box, rebuilds simplified representation and updates some important variables. If the bounding box, grid or shadow are visible, it updates them too.
Public Sub UpdateBoundingBox()
This language is not supported or no code example is available.
public void UpdateBoundingBox()
This language is not supported or no code example is available.
Remarks
 

Shadow is updated only if it is visible and if the model has the bounding box height bigger than zero.

It's important to call this method when the visibility status of some entities changes.

Visual refinement deviation is updated as well but you need to set Entity.RegenMode as regenType.RegenAndCompile for all entities and call Regen to see objects with new tessellation.

.NET Framework

Supported in: 4.8

In this article

Definition