Softanza
DémarrerEnglish
Softanza
La bibliothèque se documente elle-même · Interface et réactif

stzScenePanel

17 méthodes propres · 2 formes avec extensions, rangées sous leur méthode

la source: base/gui/stzScenePanel.ring(s'ouvre dans un nouvel onglet) · Toutes les classes · La référence du domaine : Interface et réactif

Sous chaque méthode, ses extensions (Q CS XT Z ZZ IB W U) : en gras et cochée, elle existe ; barrée, elle n'existe pas. Les extensions et leur sens

Aucune méthode de cette classe n'est exécutée sur cette page : la classe touche aux fichiers, au réseau, aux processus, à l'horloge, au hasard ou au son, et un exemple exécuté ici ne serait que l'exemple de ses effets. Chaque méthode porte l'explication que la bibliothèque donne d'elle-même.

Méthode
Explication, telle que la source la porte
init
(sans commentaire dans la source : le nom se lit comme une phrase) initaucune extension
Panel
(sans commentaire dans la source : le nom se lit comme une phrase) panelaucune extension
Scene
(sans commentaire dans la source : le nom se lit comme une phrase) sceneaucune extension
Size
(sans commentaire dans la source : le nom se lit comme une phrase) sizeaucune extension
IsMounted
(sans commentaire dans la source : le nom se lit comme une phrase) is mountedaucune extension
Mount
OUT: the panel becomes a surface in the world ----------------------- Put the panel on a quad in the scene. Answers FALSE with no device -- a machine that cannot rasterize cannot hang a panel in a world, and that is a legitimate state rather than an error.aucune extension
Shows
When G5's reactive binding lands, this is the seam it replaces: a bound value would change and the same panel would re-lay-out, with no rebuild and no re-upload of unchanged pixels.QCSXTZZZIBWU
Refresh
Re-render the panel and push its pixels to the texture. Called when the interface changed -- after a click, a focus move, a reload.aucune extension
LooksThrough
One line per frame, in the loop that already redraws. A stale mapping is now a missing call rather than an invisible fork.QCSXTZZZIBWU
CameraInUse
What the mapping is currently using -- so a caller can SEE the snapshot rather than infer it from a wrong answer.aucune extension
ViewportInUse
(sans commentaire dans la source : le nom se lit comme une phrase) viewport in useaucune extension
UvAtScreen
Where a screen pixel lands on the quad, as [u, v], or [] when the ray misses the plane or hits it outside the quad. A miss is a real answer: most of the screen is not the panel.aucune extension
PanelPointAtScreen
The same point in PANEL PIXELS -- which is the only space the panel admits, and the reason nothing below here knows about a scene.aucune extension
PointerMovedToScreen
Move the pointer, click, or hover -- addressed by SCREEN pixel, acted on in panel pixels. Answers FALSE when the ray missed, so a caller can tell "clicked nothing" from "clicked the background".aucune extension
ClickAtScreen
(sans commentaire dans la source : le nom se lit comme une phrase) click at screenaucune extension
VerifyAgainstProjection
Answers the largest uv error over a grid, so a caller can assert a bound rather than trust a boolean.aucune extension
Free
(sans commentaire dans la source : le nom se lit comme une phrase) freeaucune extension