Public Member Functions | |
| None | __init__ (self, "App" app, str|Path image, *, str vertex_shader="", str fragment_shader="") |
| A billboard sprite rendered through MXVK's 3D command callback. | |
| None | close (self) |
| None | queue (self, Sequence[float] position, Sequence[float] size, Sequence[float] color=(1.0, 1.0, 1.0, 1.0), float rotation=0.0) |
Public Attributes | |
| native = None | |
Load a 3D sprite owned by app. | |
Definition at line 130 of file graphics.py.
| None mxvk_wrap.graphics.Sprite3D.__init__ | ( | self, | |
| "App" | app, | ||
| str | Path | image, | ||
| * | , | ||
| str | vertex_shader = "", | ||
| str | fragment_shader = "" ) |
A billboard sprite rendered through MXVK's 3D command callback.
Definition at line 133 of file graphics.py.
| None mxvk_wrap.graphics.Sprite3D.close | ( | self | ) |
Definition at line 147 of file graphics.py.
| None mxvk_wrap.graphics.Sprite3D.queue | ( | self, | |
| Sequence[float] | position, | ||
| Sequence[float] | size, | ||
| Sequence[float] | color = (1.0, 1.0, 1.0, 1.0), | ||
| float | rotation = 0.0 ) |
Definition at line 143 of file graphics.py.
| mxvk_wrap.graphics.Sprite3D.native = None |
Load a 3D sprite owned by app.
Definition at line 135 of file graphics.py.