Types
Scalar
Boolean
const aBool: BooleanNode = bool(true).or(other: BooleanNode): BooleanNode
.and(other: BooleanNode): BooleanNodeFloat
const aFloat: FloatNode = float(.5)
const bFloat: FloatNode = float(aFloat).add(other: FloatNode): FloatNode
.subtract(other: FloatNode): FloatNode
.divide(other: FloatNode): FloatNode
.multiply(other: FloatNode): FloatNode
.multiplyVec2(other: Vec2Node): Vec2Node
.multiplyVec3(other: Vec3Node): Vec3Node
.multiplyVec4(other: Vec4Node): Vec4Node
.gt(other: FloatNode): BooleanNode
.lt(other: FloatNode): BooleanNode
.gte(other: FloatNode): BooleanNode
.lte(other: FloatNode): BooleanNode
.equals(other: FloatNode): BooleanNode
.notEquals(other: FloatNode): BooleanNodeInteger
Vectors
2-component floating point vector
3 and 4-component floating point vectors
Colors
RGB
Color with transparency
Matrices
2x2 floating point matrix
3x3 floating point matrix
4x4 floating point matrix
Last updated