getTiles() | {{{ n: number, [number]: Tile? }}} | Every tile, [plane][x][y] (1-based in Luau: getTiles()[plane + 1][x + 1][y + 1]), nil where there is none. The same array until the s… |
|---|
getExtendedTiles() | {{{ n: number, [number]: Tile? }}} | Every tile of the extended scene, [plane][x + 40][y + 40] (184 a side). The client builds no tiles past the 104-tile scene, so the ring a… |
|---|
getTile(number, number, number) | Tile? | One tile, the one getTiles()[plane + 1][x + 1][y + 1] holds, at (plane, x, y) (0-based scene coordinates), or nil, without building t… |
|---|
getWorldViewId() | number | The id of the world view the scene belongs to. |
|---|
getBaseX() | number | The world x of scene tile (0, 0). |
|---|
getBaseY() | number | The world y of scene tile (0, 0). |
|---|
isInstance() | boolean | Whether the scene is an instance. |
|---|
getInstanceTemplateChunks() | {{{number}}} | The instance template chunks, as WorldView:getInstanceTemplateChunks(). |
|---|
getMapRegions() | {number} | The map regions the scene covers, ascending. |
|---|
getTileHeights() | {{{number}}} | The tile corner heights, [plane][x][y]. A copy. |
|---|
setRoofsHidden(boolean) | () | Hide every roof above the local player's plane (true, what the game's own "hide roofs" setting does) or stop asking (false): the client… |
|---|
setMinLevel(number) | () | Draw the scene from minLevel up: the planes below it are not drawn (to hide the planes below the local player, set its plane before each… |
|---|
setDrawDistance(number) | () | Draw the scene out to drawDistance tiles from the camera: the scene's own draw distance, through the client's setter (it tells the render… |
|---|
getDrawDistance() | number? | The scene's draw distance in tiles, the value setDrawDistance writes: what the client draws out to now (25..90), set by the player's own… |
|---|
getOverrideHue() | number | The hue (0..63) of the colour override the client draws this scene's models with, -1 while there is none. A world entity's scene has one wh… |
|---|
getOverrideSaturation() | number | The saturation (0..7) of the scene's colour override, -1 while there is none (getOverrideHue). |
|---|
getOverrideLuminance() | number | The luminance (0..127) of the scene's colour override, -1 while there is none (getOverrideHue). |
|---|
getOverrideAmount() | number | How strongly the scene's colour override applies (127 while a world entity is hidden for an overlap), 0 while there is none (`getOverrideHu… |
|---|
getSkybox() | Model? | The skybox the client draws behind the scene, centred on the camera, before anything else: the model the server's skybox id names, lit as t… |
|---|
equals(any) | boolean | Whether other equals this Scene, as == answers it (false for a value of another class). |
|---|