

def __init__(self, up_axis='Y', v=1, definitions=None):
    if definitions:
        self.asset = definitions
    else:
        self.asset = {
            'version': v,
            'geometries': {
                
            },
            'skeletons': {
                
            },
            'effects': {
                
            },
            'materials': {
                
            },
            'images': {
                
            },
            'nodes': {
                
            },
            'lights': {
                
            },
            'entitydefinitions': {
                
            },
            'modeldefinitions': {
                
            },
            'entities': {
                
            },
            'animations': {
                
            },
            'camera_animations': {
                
            },
            'physicsmaterials': {
                
            },
            'physicsmodels': {
                
            },
            'physicsnodes': {
                
            },
            'sounds': {
                
            },
            'proceduraleffects': {
                
            },
            'areas': [],
            'bspnodes': [],
            'skins': {
                
            },
            'strings': {
                
            },
            'guis': {
                
            },
            'tables': {
                
            },
            'applications': {
                
            },
        }
    if (up_axis == 'X'):
        self.default_transform = [0, 1, 0, (- 1), 0, 0, 0, 0, 1, 0, 0, 0]
    elif (up_axis == 'Y'):
        self.default_transform = [1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0]
    elif (up_axis == 'Z'):
        self.default_transform = [1, 0, 0, 0, 0, (- 1), 0, 1, 0, 0, 0, 0]

dataset/ETHPy150Open turbulenz/turbulenz_tools/turbulenz_tools/tools/asset2json.py JsonAsset.__init__/original