Sets an attribute (value and type) for the vertex. The vertex can have only one attribute, so, previous
attribute is not preserved.
Syntax
'Declaration
Public Sub SetAttrib( _
ByVal As Integer, _
ByVal As ImGearVectVertexData, _
ByVal As Single _
)
'Usage
Dim instance As ImGearVectorVertexCont
Dim index As Integer
Dim attributeType As ImGearVectVertexData
Dim attributeValue As Single
instance.SetAttrib(index, attributeType, attributeValue)
public void SetAttrib(
int ,
ImGearVectVertexData ,
float
)
public: void SetAttrib(
int ,
ImGearVectVertexData ,
float
)
public:
void SetAttrib(
int ,
ImGearVectVertexData ,
float
)
Parameters
- index
- Position of the vertex in container.
- attributeType
- The type of vertex attribute.
- attributeValue
- The value of the vertex attribute.
See Also