IRdUVSecCoordStream Interface Reference

Inherits IDispatch.

List of all members.

Public Member Functions

HRESULT GetNumUVCoords ([out, retval] RtDWORD *dwNumVertices)
HRESULT SetNumUVCoords ([in] RtDWORD dwNumUVCoords)

Properties

RtFloat * u ([in] RtDWORD dwIndex) [get]
RtFloat u ([in] RtDWORD dwIndex) [set]
RtFloat * v ([in] RtDWORD dwIndex) [get]
RtFloat v ([in] RtDWORD dwIndex) [set]


Detailed Description

IRdUVSecCoordStream specifies data stream to texture coordinates index stream (IRdSecUVTriangleStream). The stream is part of IRdMesh and is stored in Custom stream group. Stream is identified by STREAMID_UVCOORDS_COORDINATES_2 id.

Member Function Documentation

HRESULT IRdUVSecCoordStream::GetNumUVCoords ( [out, retval] RtDWORD *  dwNumVertices  ) 

Get number of UV coordinates.

Returns:
dwNumVertices [out,retval] Value for number of UV coords found.

standard HRESULT processing can be applied to returned value.

HRESULT IRdUVSecCoordStream::SetNumUVCoords ( [in] RtDWORD  dwNumUVCoords  ) 

Set number of UV coordinates.

Parameters:
dwNumUVCoords [in] Value to set for number of UV coords.
Returns:
standard HRESULT processing can be applied to returned value.


Property Documentation

RtFloat* IRdUVSecCoordStream::u([in] RtDWORD dwIndex) [get]

Get U texture coordinate of i-th item.

Parameters:
dwIndex [in] Index item.
Returns:
pVal [out, retval] Filled with U coordinate after successfull return.

standard HRESULT processing can be applied to returned value.

RtFloat IRdUVSecCoordStream::u([in] RtDWORD dwIndex) [set]

Set U texture coordinate of i-th item.

Parameters:
dwIndex [in] Index item.
newVal [in] U-texture coordinate to set.
Returns:
standard HRESULT processing can be applied to returned value.

RtFloat* IRdUVSecCoordStream::v([in] RtDWORD dwIndex) [get]

Get V texture coordinate of i-th item.

Parameters:
dwIndex [in] Index item.
Returns:
pVal [out,retval] Filled with V coordinate after successfull return.

standard HRESULT processing can be applied to returned value.

RtFloat IRdUVSecCoordStream::v([in] RtDWORD dwIndex) [set]

Set V texture coordinate of i-th item.

Parameters:
dwIndex [in] Index item.
newVal[in] V-texture coordinate to set.
Returns:
standard HRESULT processing can be applied to returned value.


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