Description
Adds a new vertex having specified coordinates and color values to the shell, and retrieves an RFEntityID value indicating an entity ID of the new vertex.
Syntax
Function RFShell.AddColorVertex(x As Double, y As Double, z As Double, r As Byte, g As Byte, b As Byte, pVertexID As RFEntityID) As RFErrorCode
The AddColorVertex syntax has these parts:
| Part | Description |
|---|---|
| x | [IN] Double Required. X coordinate of the vertex. |
| y | [IN] Double Required. Y coordinate of the vertex. |
| z | [IN] Double Required. Z coordinate of the vertex. |
| r | [IN] Byte Required. Red value of the vertex color that ranges 0 to 255. |
| g | [IN] Byte Required. Green value of the vertex color that ranges 0 to 255. |
| b | [IN] Byte Required. Blue value of the vertex color that ranges 0 to 255. |
| pVertexID | [OUT] RFEntityID Required. Entity ID of the new vertex. |
Remarks