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

Method OnDebugDrawSelected

Source/Engine/Video/VideoPlayer.cpp:160–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158#include "Engine/Debug/DebugDraw.h"
159
160void VideoPlayer::OnDebugDrawSelected()
161{
162 // Draw influence range
163 if (_isSpatial)
164 DEBUG_DRAW_WIRE_SPHERE(BoundingSphere(_transform.Translation, _minDistance), Color::CornflowerBlue, 0, true);
165 Actor::OnDebugDrawSelected();
166}
167#endif
168
169bool VideoPlayer::IntersectsItself(const Ray& ray, Real& distance, Vector3& normal)

Callers

nothing calls this directly

Calls 2

OnDebugDrawSelectedFunction · 0.85
BoundingSphereClass · 0.50

Tested by

no test coverage detected