Contents

init(byMultiplying:byScalar:)

Creates a new vector by multiplying the specified vector’s x-axis and y-axis projections by the scalar value.

Declaration

init(byMultiplying vector: VNVector, byScalar scalar: Double)

Parameters

  • vector:

    The vector.

  • scalar:

    The scalar value by which to multiply the x-axis and y-axis projections.

See Also

Creating a Vector