static CreateVisibilityAnimation( duration ) {

		const times = [ 0, duration / 2, duration ], values = [ true, false, true ];

		const trackName = '.visible';

		const track = new BooleanKeyframeTrack( trackName, times, values );

		return new AnimationClip( '', duration, [ track ] );

	}
Creates an animation clip that toggles the visibility of a 3D object.

@param {number} duration - The duration of the animation.
@return {AnimationClip} The created animation clip.