IRsLineRenderer Interface Reference

Inherits IUnknown.

List of all members.

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)


Detailed Description

Preview for line tool. While active, draws line between two points which can be set. Used by line paint tool

Member Function Documentation

HRESULT IRsLineRenderer::Render ( [in] IUnknown *  pDevice  ) 

Renders the line to specified device.

Parameters:
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).

Parameters:
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).

Parameters:
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).

Parameters:
color [in] Set color of line.


Generated on Wed May 20 21:32:23 2009 for trueSpace7.6 SDK by  doxygen 1.5.5