public ContentSgb(Engine engine, Sgb.SgbFile sgbFile, Data.ParametersBase parameters) : base(engine) { this.SgbFile = sgbFile; this.Parameters = parameters; this.Transformation = Matrix.Identity; foreach(var group in sgbFile.Data.OfType<Sgb.SgbGroup>()) { foreach(var mdl in group.Entries.OfType<Sgb.SgbModelEntry>()) { _Content.Add(new ContentModel(engine, mdl.Model) { Parameters = parameters }); } } }
public ContentSgb(Engine engine, Sgb.SgbFile sgbFile) : this(engine, sgbFile, null) { }