ImageGear .NET v25.1 - Updated
SetAttrib Method




ImageGear.Formats.Vector Assembly > ImageGear.Vector Namespace > ImGearVectorVertexCont Class : SetAttrib Method
Position of the vertex in container.
The type of vertex attribute.
The value of the vertex attribute.
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 index As Integer, _
   ByVal attributeType As ImGearVectVertexData, _
   ByVal attributeValue 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 index,
   ImGearVectVertexData attributeType,
   float attributeValue
)
public: void SetAttrib( 
   int index,
   ImGearVectVertexData attributeType,
   float attributeValue
) 
public:
void SetAttrib( 
   int index,
   ImGearVectVertexData attributeType,
   float attributeValue
) 

Parameters

index
Position of the vertex in container.
attributeType
The type of vertex attribute.
attributeValue
The value of the vertex attribute.
See Also

Reference

ImGearVectorVertexCont Class
ImGearVectorVertexCont Members
ImGearVectVertexData Enumeration