Contents

SCNVector4Make(_:_:_:_:)

Returns a new four-component vector created from individual component values.

Declaration

func SCNVector4Make(_ x: Float, _ y: Float, _ z: Float, _ w: Float) -> SCNVector4
func SCNVector4Make(_ x: CGFloat, _ y: CGFloat, _ z: CGFloat, _ w: CGFloat) -> SCNVector4

Parameters

  • x:

    The first component of the vector.

  • y:

    The second component of the vector.

  • z:

    The third component of the vector.

  • w:

    The fourth component of the vector.

Return Value

An initialized SCNVector4 structure.