Jazz2::Editor::WeaponTemplateImage struct

An image a template of a custom weapon takes from a PNG file next to it, with how its frames are laid out.

Public variables

String Path
Absolute path of the PNG file.
std::int32_t FrameColumns
Frames in a row, 0 to tell them by the size of the image as an import does.
std::int32_t FrameRows
Rows of frames, 0 to tell them by the size of the image as an import does.
std::int32_t FrameCount
Number of frames, 0 for all of them.
float FrameRate
Speed of the animation, as FrameRate of a metadata file.
std::int32_t HotspotX
Point of a frame that's at the position of the actor.
std::int32_t HotspotY
Point of a frame that's at the position of the actor.
bool HasHotspot
Whether the hotspot is given, the middle of a frame otherwise.