🅿️Learn to Code 2 ⟩ Animatable

Declaration

// ⭐️ defined in Item.swift
public protocol Animatable {

    func reset()
    
    /// Each `Item` describes its own actions.
    func placeAction(withDuration duration: TimeInterval) -> SCNAction
    func removeAction(withDuration duration: TimeInterval) -> SCNAction
}

↘️ inherited by:🅿️ Item

Last updated