WeaponSpriteView class
#include <Jazz2/Editor/Shell/WeaponPreview.h>
An animation of a weapon in a small box, as it plays in the game.
Nothing is shown while the function returns nullptr.
Constructors, destructors, conversion operators
- WeaponSpriteView(IEditorContext& session, Function<const GraphicResource*(bool&)>&& getResource)
- Creates a new instance, the function returns the animation and whether it glows.