Public Member Functions | |
| HRESULT | Render ([in] IUnknown *pDevice) |
| HRESULT | SetStartPoint ([in] const RtUVcoord &start_point) |
| HRESULT | SetEndPoint ([in] const RtUVcoord &end_point) |
| HRESULT | Begin () |
| HRESULT | End () |
| HRESULT | SetColor ([in] RtDWORD color) |
| HRESULT IRsLineRenderer::Render | ( | [in] IUnknown * | pDevice | ) |
Renders the line to specified device.
| pDevice | [in] DirectX device (IDirect3DDevice9). |
| HRESULT IRsLineRenderer::SetStartPoint | ( | [in] const RtUVcoord & | start_point | ) |
Sets the starting point of the line (normalized view coordinates(0,0->1,1).
| start_point | [in] Set start point. |
| HRESULT IRsLineRenderer::SetEndPoint | ( | [in] const RtUVcoord & | end_point | ) |
Sets the end point of the line (normalized view coordinates(0,0->1,1).
| end_point | [in] Set end point. |
| HRESULT IRsLineRenderer::Begin | ( | ) |
Enables rendering of line.
| HRESULT IRsLineRenderer::End | ( | ) |
Disables rendering of line.
| HRESULT IRsLineRenderer::SetColor | ( | [in] RtDWORD | color | ) |
Sets the color of line (format=0xAARRGGBB).
| color | [in] Set color of line. |
1.5.5