Public Member Functions | |
| HRESULT | GetNumVertices ([out, retval] RtDWORD *pdwNumVertices) |
| HRESULT | SetNumVertices ([in] RtDWORD dwNumVertices) |
Properties | |
| RtFloat * | density ([in] RtDWORD dwIndex) [get] |
| RtFloat | density ([in] RtDWORD dwIndex) [set] |
| HRESULT IRdHairDensityStream::GetNumVertices | ( | [out, retval] RtDWORD * | pdwNumVertices | ) |
Get number of vertices.
standard HRESULT processing can be applied to returned value.
| HRESULT IRdHairDensityStream::SetNumVertices | ( | [in] RtDWORD | dwNumVertices | ) |
Set number of vertices.
| dwNumVertices | [in] Value to set for number of vertices in the stream. |
RtFloat* IRdHairDensityStream::density([in] RtDWORD dwIndex) [get] |
Get density of hair at i-th vertex.
| dwIndex | [in] Vertex index. | |
| pVal | [out,retval] Returns the hair density value for the vertex. |
RtFloat IRdHairDensityStream::density([in] RtDWORD dwIndex) [set] |
Set density of hair at i-th vertex.
| dwIndex | [in] Vertex index. | |
| newVal | [in] Value for density to set for the vertex. |
1.5.5