Contents

SCNVector3Make(_:_:_:)

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

Declaration

func SCNVector3Make(_ x: Float, _ y: Float, _ z: Float) -> SCNVector3
func SCNVector3Make(_ x: CGFloat, _ y: CGFloat, _ z: CGFloat) -> SCNVector3

Parameters

  • x:

    The first component of the vector.

  • y:

    The second component of the vector.

  • z:

    The third component of the vector.

Return Value

An initialized SCNVector3 structure.