Sets the value of the SFFloat event-in slot.
Declaring type: EventInSFFloat
Namespace: Vrml.EAI.Field
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract void SetValue (
        float value
) 
Parameters
value
The new float value.
Collapse/Expand Example
The following example demonstrates how to send a new fraction value to a PositionInterpolator node:
C#
Vrml.EAI.Node positionInterpolator = ...;
Vrml.EAI.Field.EventInSFFloat set_fraction = (Vrml.EAI.Field.EventInSFFloat)positionInterpolator.GetEventIn("set_fraction");
set_fraction.SetValue(0.5f);