Skip to content
SoulFire LogoSoulFire

Constants

Inputs, outputs, and defaults of the 4 built-in nodes in the Constants category.

Generated from the pinned SoulFire source. Regenerate these pages with bun run generate-node-reference.

Boolean

constant.boolean

Outputs a constant boolean value

Also called: bool, true, false, constant, value.

Inputs

PortTypeRequired / defaultDescription
value (Value)booleanfalseThe constant value

Outputs

PortTypeDescription
value (Value)booleanThe constant value

Implementation

Number

constant.number

Outputs a constant number value

Also called: constant, value.

Inputs

PortTypeRequired / defaultDescription
value (Value)number0The constant value

Outputs

PortTypeDescription
value (Value)numberThe constant value

Implementation

String

constant.string

Outputs a constant string value

Also called: text, constant, value.

Inputs

PortTypeRequired / defaultDescription
value (Value)stringOptionalThe constant value

Outputs

PortTypeDescription
value (Value)stringThe constant value

Implementation

Vector3

constant.vector3

Outputs a constant 3D vector with both a typed vector and x, y, z components

Also called: vector, xyz, position, coordinate, constant.

Inputs

PortTypeRequired / defaultDescription
x (X)number0X component
y (Y)number0Y component
z (Z)number0Z component

Outputs

PortTypeDescription
vector (Vector)vector3Vector value
x (X)numberX component
y (Y)numberY component
z (Z)numberZ component

Implementation

How is this page?

Last updated on