Пример #1
0
    public CatalogItem(SceneObject sceneObject)
    {
        id            = sceneObject.id;
        asset_pack_id = sceneObject.asset_pack_id;
        name          = sceneObject.name;
        model         = sceneObject.model;
        thumbnail     = sceneObject.thumbnail;
        tags          = sceneObject.tags;

        category = sceneObject.category;
        contents = sceneObject.contents;

        metrics = sceneObject.metrics;
        baseUrl = sceneObject.GetBaseURL();

        itemType = ItemType.SCENE_OBJECT;
    }