string[] getCustomProperties()
Returns an array of the names of all custom properties for which a value actually exists.

bool hasCustomProperty(string propertyName)
Returns true if a value exists for the named property.

string getCustomPropertyType(string propertyName)
Returns the type of the named custom property. This will be one of int, float, string, vec2 or bool.

int getCustomInt(string propertyName, int defaultValue = 0)
Returns the value of the named custom property if it exists. If not, the optional default value will be returned. You can use hasCustomProperty to check if a value exists.

float getCustomFloat(string propertyName, float defaultValue = 0)
Returns the value of the named custom property if it exists. If not, the optional default value will be returned. You can use hasCustomProperty to check if a value exists.

string getCustomString(string propertyName, string defaultValue = "")
Returns the value of the named custom property if it exists. If not, the optional default value will be returned. You can use hasCustomProperty to check if a value exists.

vec2 getCustomVec2(string propertyName, vec2 defaultValue)
Returns the value of the named custom property if it exists. If not, the given default value will be returned. You can use hasCustomProperty to check if a value exists.

vec2 getCustomVec2(string propertyName)
Returns the value of the named custom property if it exists. If not, the vector 0,0 will be returned.

bool getCustomBool(string propertyName, bool defaultValue = false)
Returns the value of the named custom property if it exists. If not, the optional default value will be returned. You can use hasCustomProperty to check if a value exists.

vec2 getCustomColor(string propertyName, color defaultValue)
Returns the value of the named custom property if it exists. If not, the given default value will be returned. You can use hasCustomProperty to check if a value exists.

vec2 getCustomColor(string propertyName)
Returns the value of the named custom property if it exists. If not, the color 255,255,255,255 will be returned.

void setCustomInt(string propertyName, int)
Sets the value of the named custom property.

void setCustomFloat(string propertyName, float)
Sets the value of the named custom property.

void setCustomString(string propertyName, string)
Sets the value of the named custom property.

void setCustomVec2(string propertyName, vec2)
Sets the value of the named custom property.

void setCustomBool(string propertyName, bool)
Sets the value of the named custom property.

void setCustomColor(string propertyName, color)
Sets the value of the named custom property.

void clearCustomProperty(string propertyName)
Removes all values for the named custom property.