Copyright VirtualSim 2004-2020 - All rights reserved
TexShape
Sprites are simple square shapes that can be either painted or textured.
Most of the sprites (input and output) are inheriting from the TexShape class.
Some sprite have two representations: a moving TexShape sprite and a background sprite.
To add a TexShape, do or use
Give it a name:
then Create.
Name
Name of the TexShape. Must be unique whatever its type.
vsTASKER will generate a class whose name will be <Name>_Spt. For the moment, this class will inherit from Vt_Sprite class.
Any Sprite can be accessed using its name in a generated union named s.
For ie, if a Sprite is namedmy_knob, the associated class will bemy_knob_Sptand from the code, retrieving the instance object of the HMI will be done withs.my_knob or, in a more formal manner:my_knob_Spt* my_knob = (my_knob_Spt*) R:findSprite("my_knob");
In case of a Transparent visual, use this slider to specify the amount of transparency to apply to the selected color, from Min (opaque) to Max (glass).