![]() | ILinkRendererStartRenderer Method |
Namespace: KASAPIv2
void StartRenderer( Transform source, Transform target )
This method only indicates that the link is to be drawn between the specified points. The renderer is allowed to draw meshes even when not started. E.g. if there are constant parts of the link like the joint pivots.
The ends of the link are not required to be located at the surface of the owning parts. It's up to the renderer to decide how to draw the link.
It's OK to call this method multiple times with different or the same source/target arguments: the renderer must accept the values and update accordingly. However, this operation is rated as performance expensive, so the callers are discouraged to invoke this method too frequently (e.g. on every frame update).