Sets one element of the MFInt32 event-in slot.
Declaring type: EventInMFInt32
Namespace: Vrml.EAI.Field
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract void Set1Value (
        int index,
        int value
) 
Parameters
index
The index of the element, starting at 0.
value
The new integer value.
Collapse/Expand Example
The following example demonstrates how to write an integer value (2) into the first element of the "colorIndex" field of an IndexedFaceSet node:
C#
Vrml.EAI.Node indexedFaceSet = ...;
Vrml.EAI.Field.EventInMFInt32 set_colorIndex = (Vrml.EAI.Field.EventInMFInt32)indexedFaceSet.GetEventIn("set_colorIndex");
set_colorIndex.Set1Value(0, 2);