JsonWidget.setPreview

Sets the item preview uuid for a json widget. Passing nil clears the preview.

Kind: Function

Environments: Game

Game

Overload 1

jsonWidget:setPreview( uuid )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
jsonWidget JsonWidget The JsonWidget.
uuid uuid The item uuid.

Overload 2

jsonWidget:setPreview( string )

Open the full Game reference

Availability: Client only

Sets the blueprint preview path for a json widget. Passing nil clears the preview.

Parameters:

Name Type Description
jsonWidget JsonWidget The JsonWidget.
string string The blueprint path.

Overload 3

jsonWidget:setPreview(  )

Open the full Game reference

Availability: Client only