@classmethod
def from_data(cls, scene, context):
    """Creates a :class:`compas.files.GLTFScene` from a glTF scene dictionary
        and inserts it in the provided context.

        Parameters
        ----------
        scene : dict
        context : :class:`compas.files.GLTFContent`

        Returns
        -------
        :class:`compas.files.GLTFScene`
        """
    if scene is None:
        return None
    return cls(context=context, children=scene.get('nodes'), name=scene.get
        ('name'), extras=scene.get('extras'), extensions=scene.get(
        'extensions'))
