// // PMAModelObjectModelExtension.cs - provides an ObjectModelExtension that extends a ModelObjectModel with additional information pertaining to the Polygon Movie Maker ALCETECH format // // Author: // Michael Becker // // Copyright (c) 2013-2020 Mike Becker's Software // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . using System; namespace UniversalEditor.ObjectModelExtensions.Multimedia3D.Model { /// /// Provides an that extends a ModelObjectModel with additional information pertaining to the Polygon Movie Maker ALCETECH format. /// public class PMAModelObjectModelExtension // : ObjectModelExtension { /* public override void Clear() { mvarEnabled = false; mvarVersion = new Version(1, 0, 0, 0); mvarTextureFlipping = new TextureFlippingInformation(); } public override void CopyTo(ObjectModelExtension where) { PMAModelObjectModelExtension clone = (where as PMAModelObjectModelExtension); if (clone == null) return; clone.Enabled = mvarEnabled; clone.Version = (mvarVersion.Clone() as Version); clone.mvarTextureFlipping = (mvarTextureFlipping.Clone() as TextureFlippingInformation); } */ /// /// Gets or sets a value indicating whether this is enabled. /// /// true if this is enabled; otherwise, false. public bool Enabled { get; set; } = false; /// /// Gets or sets the version of this . /// /// The version of this . public Version Version { get; set; } = new Version(1, 0, 0, 0); /// /// Gets a instance that describes texture animation settings. /// /// The texture animation settings associated with this . public TextureFlippingInformation TextureFlipping { get; } = new TextureFlippingInformation(); } }