Calculates size of the current scene.
Only takes meshes into considerations that:
Optional
excludeGeometry: ExcludedGeometryListRegister scene assets for 3d viewer, this is required for each scene asset before it can be loaded/shown.
The "viewer control" inside the Combeenation framework calls this function automatically with all assigned
scene assets.
Set desired scene asset as active and loads the content of the associated asset container (e.g. ground mesh).
This also deactivates the currently active scene asset, as only one scene asset can be active at a time.
Optional
skipPreparation: booleanAdjusts position and scaling of a dedicated "ground" meshes according to the bounding sphere of the current scene
content.
This function is designed to adjust the ground that is created via scene.createDefaultEnvironment
, but any other
plane mesh can be used as well.
Optional
settings: UpdateGroundSettingsAssigns available meshes in scene as shadow receiver and shadow casters of dedicated shadow generators, as defined in settings
Optional
settings: UpdateShadowsSettingsGenerated using TypeDoc
Manager for tasks related to the Babylon.js scene.
This contains creating or loading scenes with certain settings for lighting, cameras and appearance in genereal.