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 )
Availability: Client only
Parameters:
| Name | Type | Description |
|---|---|---|
jsonWidget |
JsonWidget | The JsonWidget. |
uuid |
uuid | The item uuid. |
Overload 2
jsonWidget:setPreview( string )
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( )
Availability: Client only