I want to use D3D functions to draw any shapes like any equation i want to plot. like the figures below done in directx. i want to use AR that i need to develop the project in ue4. Anyone having any idea how to do this? i posted this question at https://www.reddit.com/r/unrealengine/comments/c05ogw/using_d3d_functions_in_ue4_c/ with pictures.
UE4 is built to be platform agnostic, you shouldn’t ever be calling D3D functions directly.
Drawing geometric primitives should be reasonably trivial to do, there are a number of ways you can generate and modify geometry at run time (procedural mesh components, shaders etc).