ViewLimits beta
Interface of @v12-engine/client
export interface ViewLimitsThe caps a game sets (GameView.world.limits)
Members
frameTime
frameTime?: number;The longest stretch of time simulated in one frame, in seconds: a slower frame slows the game down instead of spiralling. 0.1 when left out
groundPaintEvery
groundPaintEvery?: number;Seconds between two uploads of the ground paint's mask (groundPaint), while cells come in or go. 1/30 when left out
lights
lights?: number;Lights drawn at once at low quality (LightsQuality): of those in view, the nearest to what the camera looks at. 32 when left out
mistAreas
mistAreas?: number;Areas of mist (MapMist.areas) drawn at once: the rest are left out. Each is a uniform and a part of the shader of every material that takes mist, so more of them cost every pixel that has mist. 8 when left out
splashes
splashes?: number;Splash particles at once, where rain falls on the ground (MapWeather). 400 when left out
uiInterval
uiInterval?: number;Seconds between two updates of the HUD. 0.1 when left out
viewEvery
viewEvery?: number;Seconds between two workings out of what is in view while the camera is still (ViewRest): the frames between are drawn from the list as it was, each thing in it placed anew. A mesh shown or hidden, one that walks into the view, a level of detail and a skeleton's pose wait for the next, at most this long; a camera that moves and a mesh made or let go work it out at once. 0 works it out every frame, as Babylon does. 1/64 when left out
voices
voices?: number;Sounds that play at once: past it, a new one is let go. 24 when left out
weatherAreas
weatherAreas?: number;Places weather falls in (MapWeather.areas), drawn at once: the rest are left out. 8 when left out