Sets the elements of the MFInt32 event-in slot.
Declaring type: EventInMFInt32
Namespace: Vrml.EAI.Field
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract void SetValue (
        int[] value
) 
Parameters
value
The new integer values.
Collapse/Expand Example
The following example demonstrates how to write three integer values (0, 1 and 2) into 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.SetValue(new int[] { 0, 1, 2 });