MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / _setIsEnabled

Method _setIsEnabled

Engine/source/postFx/postEffect.cpp:1317–1327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1315}
1316
1317bool PostEffect::_setIsEnabled( void *object, const char *index, const char *data )
1318{
1319 bool enabled = dAtob( data );
1320 if ( enabled )
1321 static_cast<PostEffect*>( object )->enable();
1322 else
1323 static_cast<PostEffect*>( object )->disable();
1324
1325 // Always return false from a protected field.
1326 return false;
1327}
1328
1329void PostEffect::enable()
1330{

Callers

nothing calls this directly

Calls 3

dAtobFunction · 0.50
enableMethod · 0.45
disableMethod · 0.45

Tested by

no test coverage detected