Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Constants are user-definable numbers. They can be created anywhere in a graph and, in most cases, constants are needed to define a value, for example a temperature, velocity, density, or even colour. There are several types of constants for different fields of application:

  • "Bits" only have two states: 0 and 1.
  • "Integers" are numbers like 5, 873, or 43324.
  • "Real" numbers are also called decimal fractions and the number of decimals is called precision. Examples are 3.1415, 642.5, or 1054.343578.
  • "Vector3" expects a trio of values and these values can be integers or reals. A typical "Vector3" is a particle's position or normal. These vectors always consist of three elements – one for each axes.
  • "Color4" stores a total four values: RGB plus an Alpha channel

 

Nodes

NameDescription
BitA bit constant. Suitable for direct user input.
Color4A four component float color constant. Component values vary from 0.0 to 1.0.
IntegerAn integer constant. Suitable for direct user input.
Integer64A 64 bit integer constant. Suitable for direct user input. Due to RealFlow user interface limitations, even while the stored value is of 64 bit precission,the parameter introduced by the user is still treated as a 32 bit value. To create a value bigger than 2^32 it is necessary to perform extra arithmetic operations or get it from a different node.
RealA float constant. Suitable for direct user input.
Vector3A three component float vector constant.

Bit

A bit constant. Suitable for direct user input.

Inputs

NameTypesPassThroughDescription
inBit
 Optional

bit

The in

Outputs

NameTypesPassThroughDescription
bitBit
 Optional

in

The bit

Color4

A four component float color constant. Component values vary from 0.0 to 1.0.

Suitable for direct user input.

Inputs

NameTypesPassThroughDescription
inColor4
 Optional

color

The in

Outputs

NameTypesPassThroughDescription
colorColor4
 Optional

in

The color

Integer

An integer constant. Suitable for direct user input.

Inputs

NameTypesPassThroughDescription
inInteger
 Optional

integer

The in

Outputs

NameTypesPassThroughDescription
integerInteger
 Optional

in

The integer

Integer64

A 64 bit integer constant. Suitable for direct user input. Due to RealFlow user interface limitations, even while the stored value is of 64 bit precission,the parameter introduced by the user is still treated as a 32 bit value. To create a value bigger than 2^32 it is necessary to perform extra arithmetic operations or get it from a different node.

Inputs

NameTypesPassThroughDescription
inInteger64
 Optional

integer64

The in

Outputs

NameTypesPassThroughDescription
integer64Integer64
 Optional

in

The integer64

Real

A float constant. Suitable for direct user input.

Inputs

NameTypesPassThroughDescription
inReal
 Optional

real

The in

Outputs

NameTypesPassThroughDescription
realReal
 Optional

in

The real

Vector3

A three component float vector constant.

Suitable for direct user input.

Inputs

NameTypesPassThroughDescription
inVector3
 Optional

vector

The in

Outputs

NameTypesPassThroughDescription
vectorVector3
 Optional

in

The vector

  • No labels