|
Blender V5.3
|
Public Attributes | |
| const char * | svg_source |
| float2 | hotspot |
| bool | can_invert |
Blender custom cursor.
Definition at line 65 of file wm_cursors.cc.
| bool blender::BCursor::can_invert |
By default cursors are "light", allow dark themes to invert.
Definition at line 78 of file wm_cursors.cc.
Referenced by blender::window_set_custom_cursor_generator(), blender::window_set_custom_cursor_pixmap(), and blender::wm_add_cursor().
| float2 blender::BCursor::hotspot |
A factor (0-1) from the top-left corner of the image (not of the document size).
Definition at line 74 of file wm_cursors.cc.
Referenced by blender::window_set_custom_cursor_generator(), blender::window_set_custom_cursor_pixmap(), and blender::wm_add_cursor().
| const char* blender::BCursor::svg_source |
An SVG document size of 1600x1600 being the "normal" size, cropped to the image size and without any padding.
Definition at line 70 of file wm_cursors.cc.
Referenced by blender::window_set_custom_cursor_generator(), blender::window_set_custom_cursor_pixmap(), blender::wm_add_cursor(), and blender::WM_cursor_set().