Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione statica Client Lento

Viewport.SetHardwareCursor

Loads and sets a hardware cursor in the game from a PNG image<br/>Note: due an engine limitation modifying an already set cursor image will not change the cursor until the game is restarted

Non ancora tradotto

Sintassi

Lua
Viewport.SetHardwareCursor(cursor_shape, cursor_path, hotspot = Vector(0, 0))

Parametri

Nome Tipo Predefinito Descrizione
cursor_shape CursorType
cursor_path ImagePath a PNG image relative to Assets/
hotspot facoltativo Vector2D Vector(0, 0)