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

Click here to see the list of members.

Collapse/Expand Example
The following example demonstrates how to get the color of an object:
C#
Vrml.EAI.Node material = ...;
Vrml.EAI.Field.EventOutSFColor diffuseColor_changed = (Vrml.EAI.Field.EventOutSFColor)material.GetEventOut("diffuseColor_changed");
float[] color = diffuseColor_changed.GetValue();
System.Console.WriteLine("red = " + color[0] + ", green = " + color[1] + ", blue = " + color[2]);