# IRdTrVertColorStream Interface Reference

Inherits IDispatch.

List of all members.

## Public Member Functions
HRESULT | GetNumVertColors ([out, retval] RtDWORD *dwNumVertices)
HRESULT | SetNumVertColors ([in] RtDWORD dwNumVertColors)

## Detailed Description

IRdTrVertColorStream:

- Specifies triangle vertices colors.
- The stream is part of IRdMesh and is stored in Triangle stream group.
- Stream is identified by STREAMID_TRIANGLES_VERT_COLOR id.

## Member Function Documentation

HRESULT IRdTrVertColorStream::GetNumVertColors | ( | [out, retval] RtDWORD * | dwNumVertices | ) |

Returns:
  dwNumVertices [out,retval] Returns number of vertex colors found.

HRESULT IRdTrVertColorStream::SetNumVertColors | ( | [in] RtDWORD | dwNumVertColors | ) |

Parameters:

  | dwNumVertColors | [in] Set number of vertex colors.