protected ContentTransformer(Object content) { Guard.NotNull(content, nameof(content)); if (content is MESHBUILDER mesh) { content = new MeshContent(mesh); } _Content = content; }
private MeshContent(MeshContent other) { this._Mesh = other._Mesh?.Clone(m => new Materials.MaterialBuilder(m)); }
private MeshContent(MeshContent other) { this._Mesh = other._Mesh?.Clone(m => m.Clone()); }
private MeshContent(MeshContent other) { this._Mesh = other._Mesh; }
protected ContentTransformer(MESHBUILDER mesh) { Guard.NotNull(mesh, nameof(mesh)); _Content = new MeshContent(mesh); }