Create a new LinesRenderBehavior with the given line data and color.
Protected_bindProtected_indexProtected_indexProtected_mvpProtected_pipelineProtected_renderProtected_vertexProtectedasyncProtectedCalled when the rendering is ready (device is available).
Detach this behavior from the GameObject it is attached to.
The GameObject to detach this behavior from.
ProtectedobserveProtectedObserve a LogicBehavior and call the observer function when the data changes.
ProtectedonProtectedonRender the object to the screen. Pipeline and MVP uniform are set by RenderEngine.
The render pass to render to
Like onEnable, but should only be for internal use, so some non-abstact direct behaviors could expose attachedOn to the user.
The GameObject this behavior is attached to.
ProtectedtickProtectedCalled every frame. Override this method to add custom behavior.
The time in seconds since the last frame.
A behavior to render lines with a dynamic color.