MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / setConnectName

Method setConnectName

Engine/source/shaderGen/langElement.cpp:144–148  ·  view source on GitHub ↗

-------------------------------------------------------------------------- Set connect name --------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

142// Set connect name
143//--------------------------------------------------------------------------
144void Var::setConnectName(const char* newName )
145{
146 dStrncpy( ( char* ) connectName, newName, sizeof( connectName ) );
147 connectName[ sizeof( connectName ) - 1 ] = '\0';
148}
149
150//--------------------------------------------------------------------------
151// Set type

Callers 2

getIndexedElementMethod · 0.80
getElementMethod · 0.80

Calls 1

dStrncpyFunction · 0.85

Tested by

no test coverage detected