Elaztek Developer Hub
Blamite Game Engine - blam!  00368.02.12.23.1347.blamite
The core library for the Blamite Game Engine.
Vector2Field Class Reference

Class representing a vector2 tag field. More...

#include <vector.h>

+ Inheritance diagram for Vector2Field:

Public Member Functions

 Vector2Field (std::string _display_name, std::string _extra_info)
 
 Vector2Field (std::string _display_name, std::string _extra_info, std::string _input_hint)
 
- Public Member Functions inherited from VectorField
 VectorField (BlamPluginFieldType _type, std::string _display_name, std::string _extra_info)
 
 VectorField (BlamPluginFieldType _type, std::string _display_name, std::string _extra_info, std::string _input_hint)
 
void ShowImPropertyControl ()
 Shows a set of ImGUI controls representing the tag field. More...
 
std::string GetFieldXMLString (int offset)
 Generates a string representing an XML node associated with this tag field, used for generating plugin files. More...
 
- Public Member Functions inherited from BlamPluginField
 BlamPluginField (BlamPluginFieldType _type, std::string _display_name, std::string _extra_info)
 
 BlamPluginField (BlamPluginFieldType _type, std::string _display_name, std::string _extra_info, std::string _valid_input_label)
 
virtual void SetMemoryLocation (void *new_address)
 Sets the address of the data that the plugin field should display. More...
 

Additional Inherited Members

- Public Attributes inherited from BlamPluginField
std::string display_name
 The display name of the tag field. More...
 
std::string extra_info
 Additional information to show alongside the field. More...
 
std::string input_hint
 A label specifying possible valid input. Not always shown. More...
 
bool visible = true
 Whether or not this field should be marked as visible within the editor. More...
 
void * read_address
 The address of the data the field is currently representing. More...
 
int read_length
 How many bytes to read from the start of the address. More...
 
BlamPluginFieldType type
 The type of the field. More...
 

Detailed Description

Class representing a vector2 tag field.

Vector2 fields store a BlamVector2, and takes up 8 bytes in memory and in a tag file.

Constructor & Destructor Documentation

◆ Vector2Field() [1/2]

Vector2Field::Vector2Field ( std::string  _display_name,
std::string  _extra_info 
)

◆ Vector2Field() [2/2]

Vector2Field::Vector2Field ( std::string  _display_name,
std::string  _extra_info,
std::string  _input_hint 
)

The documentation for this class was generated from the following files: