public Element(string json, SpectaclesElementType type, Material material, Layer layer) { GeometryJson = json; Type = type; Material = material; Layer = layer; }
public Element(string json, SpectaclesElementType type) { GeometryJson = json; Type = type; }