Пример #1
0
 public override void SetProperties(ModifierProperties properties)
 {
     if (properties is GeometryExtrusionWithAtlasOptions options)
     {
         _options = options;
     }
     else if (properties is GeometryExtrusionOptions extrusionOptions)
     {
         _options = extrusionOptions.ToGeometryExtrusionWithAtlasOptions();
     }
     else if (properties is UVModifierOptions modifierOptions)
     {
         _options = modifierOptions.ToGeometryExtrusionWithAtlasOptions();
     }
 }