Contents

vectorWithX:Y:Z:W:

Create a Core Image vector object that is initialized with four values.

Declaration

+ (instancetype) vectorWithX:(CGFloat) x Y:(CGFloat) y Z:(CGFloat) z W:(CGFloat) w;

Parameters

  • x:

    The value for the first position in the vector.

  • y:

    The value for the second position in the vector.

  • z:

    The value for the third position in the vector.

  • w:

    The value for the forth position in the vector.

Return Value

An autoreleased CIVector object of length 4.

See Also

Creating a Vector