MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / getText

Method getText

engine/source/2d/sceneobject/TextSprite.h:200–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198
199 static bool setText( void* obj, const char* data ) { static_cast<TextSprite*>( obj )->setText( data ); return false; }
200 static const char* getText( void* obj, const char* data ) { return static_cast<TextSprite*>( obj )->getText().getPtr8(); }
201 static bool writeText(void* obj, StringTableEntry pFieldName) { return static_cast<TextSprite*>(obj)->mText.length() != 0; }
202
203 static bool setFontSize(void* obj, const char* data) { static_cast<TextSprite*>(obj)->setFontSize(dAtof(data)); return false; }

Callers 1

Calls 1

getPtr8Method · 0.80

Tested by

no test coverage detected