Skip to main content

SceneUploadBuilder

A builder for a new SceneUpload.

Reference

Methods​

name​

name(name);

Set the upload name.

Parameters

NAMETYPEDESCRIPTION
namestringThe name of the uploaded scene

Returns the current builder.


fogFilled​

fogFilled(filled);

Set the scenes fog filled.

Parameters

NAMETYPEDESCRIPTION
filledbooleanThe new filled state of the fog

Returns the current builder.


fogColor​

fogColor(color);

Set the scenes fog color.

Parameters

NAMETYPEDESCRIPTION
colorstringThe new color of the fog

Returns the current builder.


fogStrokeWidth​

fogStrokeWidth(width);

Set the scenes fog strokeWidth.

Parameters

NAMETYPEDESCRIPTION
widthnumberThe new width fog stroke

Returns the current builder.


gridScale​

gridScale(scale);

Set the scenes grid scale.

Parameters

NAMETYPEDESCRIPTION
scalestringThe new raw scale of the grid

Returns the current builder.


gridColor​

gridColor(color);

Set the scenes grid color.

Parameters

NAMETYPEDESCRIPTION
colorGridColorThe new color of the grid

Returns the current builder.


gridOpacity​

gridOpacity(opacity);

Set the scenes grid opacity.

Parameters

NAMETYPEDESCRIPTION
opacitynumberThe new opacity of the grid between 0 and 1

Returns the current builder.


gridLineType​

gridLineType(lineType);

Set the scenes grid lineType.

Parameters

NAMETYPEDESCRIPTION
lineTypeGridLineTypeThe new type of the grid line

Returns the current builder.


gridMeasurement​

gridMeasurement(measurement);

Set the scenes grid measurement.

Parameters

NAMETYPEDESCRIPTION
measurementGridMeasurementThe new measurement type of the grid

Returns the current builder.


gridType​

gridType(type);

Set the scene grids type.

Parameters

NAMETYPEDESCRIPTION
typeGridTypeThe new type of the grid

Returns the current builder.


items​

items(items);

Set the scenes default items.

Parameters

NAMETYPEDESCRIPTION
ItemsItem[]The default items used for the scene

Returns the current builder.


baseMap​

baseMap(baseMap);

Set the scenes base map that should be included with this scene during upload.

Parameters

NAMETYPEDESCRIPTION
baseMapImageUploadThe image to upload as a map

Returns the current builder.


build​

build();

Returns the final SceneUpload.