widthnumberIn pixels, rounded down and at least 1.
heightnumberIn pixels, rounded down and at least 1.
seesoptionalTSpriteTextureSees'inside', the default: only what the component draws, a world of its own. '3d': the
models and particles in depth of the world around it as well, seen from the component's own
3D camera (or the scene's, if it asks for none) and lit by the scene's lamps, with whatever
the component draws on top. That is a security camera: the flat part of the scene, its sprites
and its texts, is not in the room and is not seen.
'world': a view of the whole world of its scene, drawn again through the component's own
cameras (or the scene's, where it asks for none) and not run a second time: a minimap, a
mirror, half of a split screen. Its 2D camera sees the sprites, maps, texts and particles,
each placed for it, parallax included; its 3D camera sees the models, and one that follows the
2D (follow2d) follows the view's. What is pinned to the screen (useScreenSpace) is the
screen's and is never in a view, and neither is anything showing the view itself. What the
component draws goes on top, and is seen only there: a minimap's marker. It is in the world the
view looks at, through the same cameras, lit by the scene's lamps and in its fog, unless the
view brings lamps or fog of its own. A useAmbientLight of its own is not a lamp: it keeps the
scene's and sets how dark the shade is in all the view shows, the world too, like its fog (a
minimap of a dark dungeon at intensity: 1 reads in full). In a picture that sees '3d' it
sets the level of the room the picture shows. A picture that sees 'inside' is a world of its
own and is lit only by what is in it.
hideoptionalTViewFilterFor a view ('world'): what of the world it leaves out. hide wins over only.
onlyoptionalTViewFilterFor a view ('world'): what alone of the world it takes in.
backgroundoptionalTColorOptionWhat is behind everything drawn into it. Opaque black when left out. A transparent one lets
whatever shows the picture be seen through the parts nothing covers.
keyoptionalstringThe name the picture is kept under, so a model can ask for it by name the way it asks for a
loaded image. A new one of its own when left out.
Worth giving in a scene that restarts: the same name and size gets the same picture back
instead of a new one each time.