UnrealOni/Documentation

From OniGalore
< UnrealOni
Revision as of 08:00, 4 August 2019 by Paradox-01 (talk | contribs) (Assets, Mouse cursor)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Assets

Import

Unprocessed files like PNG can be imported by drag and drop in the Content Browser.

They will be saved as .uasset in the folder you dropped the original file.


Mouse cursor

Tested in v4.18, 4.22

  • create a png with transparent edges, import it
  • create a widget bp, open it
  • drag and drop the mouse cursor asset into the widget designer
  • make it 32x32 in size 0, 0 in position
  • compile and save
  • open project settings
    • Engine > User Interface > Software Cursors
    • Add a new software cursor with "Default" option and pick your newly create cursor widget as map element.
The cursor might act strange in the editor's play mode. This should go away as soon as you test it via Lunch.
Finetune the widget image by moving it in the upper left corner. If its size is 32x32 then use the half (16) for the X and Y positioning.
Note of warning: DPI scaling doesn't seem to affect the mouse cursor at all.