MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnDebugDrawSelected

Method OnDebugDrawSelected

Source/Engine/Audio/AudioSource.cpp:329–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327#include "Engine/Debug/DebugDraw.h"
328
329void AudioSource::OnDebugDrawSelected()
330{
331 // Draw influence range
332 if (_allowSpatialization)
333 DEBUG_DRAW_WIRE_SPHERE(BoundingSphere(_transform.Translation, _minDistance), Color::CornflowerBlue, 0, true);
334
335 // Base
336 Actor::OnDebugDrawSelected();
337}
338
339#endif
340

Callers

nothing calls this directly

Calls 2

OnDebugDrawSelectedFunction · 0.85
BoundingSphereClass · 0.50

Tested by

no test coverage detected