Contents

init(position:target:scale:up:)

Creates a scaled pose at the specified position that’s oriented towards a look at target.

Declaration

init(position: Point3DFloat = .zero, target: Point3DFloat, scale: Float = 1, up: Vector3DFloat = Vector3DFloat(x: 0, y: 1, z: 0))

Parameters

  • position:

    The position of the scaled pose.

  • target:

    The point that the scaled pose looks at.

  • scale:

    The uniform scale of the scaled pose.

  • up:

    The up direction.

Discussion