MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / ASDebugDrawText

Function ASDebugDrawText

Source/Scripting/angelscript/asfuncs.cpp:2231–2234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2229}
2230
2231int ASDebugDrawText(vec3 pos, std::string text, float scale, bool screen_space, int lifespan_int) {
2232 DDLifespan lifespan = LifespanFromInt(lifespan_int);
2233 return DebugDraw::Instance()->AddText(pos, text, scale, lifespan, screen_space ? _DD_SCREEN_SPACE : _DD_NO_FLAG);
2234}
2235
2236bool ASDebugSetPosition(int id, vec3 pos) {
2237 return DebugDraw::Instance()->SetPosition(id, pos);

Callers

nothing calls this directly

Calls 2

LifespanFromIntFunction · 0.85
AddTextMethod · 0.45

Tested by

no test coverage detected