Reference to a MFColor event-out slot.
Namespace: Vrml.EAI.Field
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract class EventOutMFColor :  EventOutMField
Collapse/Expand Remarks
Use this class to read values from MFColor event-out slots.
Collapse/Expand Members

Click here to see the list of members.

Collapse/Expand Example
The following example gets the color values from the "color" field of a Color node and prints them to the console:
C#
Vrml.EAI.Node color = ...;
Vrml.EAI.Field.EventOutMFColor color_changed = (Vrml.EAI.Field.EventOutMFColor)color.GetEventOut("color_changed");
float[][] c = color_changed.GetValue();
for (int i = 0; i < c.Length; ++i)
    System.Console.WriteLine("red = " + c[i][0] + ", green = " + c[i][1] + ", blue = " + c[i][2]);