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

Method OnDebugDraw

Source/Engine/Level/Actors/Spline.cpp:541–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

539}
540
541void Spline::OnDebugDraw()
542{
543 if (DebugDraw::GetViewFrustum().Intersects(_sphere))
544 DrawSpline(this, GetSplineColor().AlphaMultiplied(0.7f), _transform, true);
545
546 // Base
547 Actor::OnDebugDraw();
548}
549
550void Spline::OnDebugDrawSelected()
551{

Callers

nothing calls this directly

Calls 5

DrawSplineFunction · 0.85
GetSplineColorFunction · 0.85
OnDebugDrawFunction · 0.85
AlphaMultipliedMethod · 0.80
IntersectsMethod · 0.45

Tested by

no test coverage detected