IAttributes for serialization, you are not trying to save the string, you want to draw it. Drawing something means setting up the states in the driver (material and transformations), and then telling the driver to do it.
Your best option is to edit Example 3 and replace it drawVertexPrimitiveListwith draw3DLine, and then add your custom node to the scene manager, like any other.
source
share