"flowing"

Defines the flowing speed and the flow direction of the flowing effect within a pipe.

Synopsis

shape.flowing(int speed);

setValue(string shape, "flowing", int speed);

getValue(string shape, "flowing", int &speed);

Parameters

Parameter Description
shape Name of the object.
speed

Flowing speed and flow direction.

The following values are accepted:

3 = fast from start to end point

2 = middle from start to end point

1 = slow from start to end point

0 = flowing effect off

-1 = slow from end to start point

-2 = middle from end to start point

-3 = fast from end to start point

Description

Defines the flowing speed and the flow direction of the flowing effect within a pipe (see also Pipe).

Example

main()
{
  this.flowing(3);
  this.flowFillPercent(20);
}
Figure 1. Pipe with a Flow Effect

Assignment

Pipe