Operator

    VisualShaderNodeVectorOp.swift:19
    enum Operator

    Cases

    • case add

      Adds two vectors.

    • case sub

      Subtracts a vector from a vector.

    • case mul

      Multiplies two vectors.

    • case div

      Divides vector by vector.

    • case mod

      Returns the remainder of the two vectors.

    • case pow

      Returns the value of the first parameter raised to the power of the second, for each component of the vectors.

    • case max

      Returns the greater of two values, for each component of the vectors.

    • case min

      Returns the lesser of two values, for each component of the vectors.

    • case cross

      Calculates the cross product of two vectors.

    • case atan2

      Returns the arc-tangent of the parameters.

    • case reflect

      Returns the vector that points in the direction of reflection. a is incident vector and b is the normal vector.

    • case step

      Vector step operator. Returns 0.0 if a is smaller than b and 1.0 otherwise.

    • case enumSize

      Represents the size of the Operator enum.

    Other members in extension

    Type members

    Instance members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features