VectorConvertible

public protocol VectorConvertible : Equatable

Conforming types can be converted to and from vector types.

This is the single requirement for any type that is to be animated by Animator, Simulator, or Spring.

  • zero Extension method

    Returns an instance initialized using the zero vector.

    Declaration

    Swift

    public static var zero: Self { get }