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

Method _setMaterial

Engine/source/gui/controls/guiMaterialCtrl.cpp:80–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80bool GuiMaterialCtrl::_setMaterial( void *object, const char *index, const char *data )
81{
82 static_cast<GuiMaterialCtrl *>( object )->setMaterial( data );
83
84 // Return false to keep the caller from setting the field.
85 return false;
86}
87
88bool GuiMaterialCtrl::setMaterial( const String &materialName )
89{

Callers 11

undoMethod · 0.80
on3DMouseDownMethod · 0.80
unpackUpdateMethod · 0.80
_updateMaterialMethod · 0.80
setVisibleMethod · 0.80
on3DMouseDraggedMethod · 0.80
setupShapeMethod · 0.80
on3DMouseDownMethod · 0.80
extrudeShapeFromFaceMethod · 0.80

Calls 1

setMaterialMethod · 0.45

Tested by

no test coverage detected