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

Function DefineEngineMethod

Engine/source/T3D/assets/SoundAsset.cpp:338–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338DefineEngineMethod(SoundAsset, getSoundPath, const char*, (), , "")
339{
340 return object->getSoundPath();
341}
342
343DefineEngineMethod(SoundAsset, playSound, S32, (Point3F position), (Point3F::Zero),
344 "Plays the sound for this asset.\n"

Callers 8

ShapeAsset.cppFile · 0.70
SoundAsset.cppFile · 0.70
aiTurretShape.cppFile · 0.50
turretShape.cppFile · 0.50
guiClockHud.cppFile · 0.50
wheeledVehicle.cppFile · 0.50

Calls 1

getSoundPathMethod · 0.80

Tested by

no test coverage detected