Пример #1
0
        public UnityModelBuilder(MaterialProvider materialProvider)
        {
            _materialProvider = materialProvider;

            // register custom builders here.
            _elementBuilders.Add("info", new PlaceElementBuilder(_materialProvider));
            _elementBuilders.Add("label", new LabelElementBuilder());
            _elementBuilders.Add("import", new ImportElementBuilder());
        }
Пример #2
0
 public PlaceElementBuilder(MaterialProvider customizationService)
 {
     _materialProvider = customizationService;
 }