Reference to a SFImage event-in slot.
Namespace: Vrml.EAI.Field
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract class EventInSFImage :  EventIn
Collapse/Expand Remarks
Use this class to write values into SFImage event-in slots.
Collapse/Expand Members

Click here to see the list of members.

Collapse/Expand Example
The following example demonstrates how to put a new texture into a PixelTexture node. The texture has a size of 2 x 2 pixels and RGB color values (3 components). The lower left pixel is white, the lower right pixel red, the upper left pixel green, and the upper right pixel blue:
C#
Vrml.EAI.Node pixelTexture = ...;
Vrml.EAI.Field.EventInSFImage set_image = (Vrml.EAI.Field.EventInSFImage)pixelTexture.GetEventIn("set_image");
int [] pixels = new int[] { 0xFFFFFF, 0xFF0000, 0x00FF00, 0x0000FF };
set_image.SetValue(2, 2, 3, pixels);