/// <inheritdoc/> public void ConstructFromData(SiliconStudio.Core.Serialization.Converters.ConverterContext context, SiliconStudio.Paradox.Effects.Cubemap.Data.CubemapBlendComponentData target, ref SiliconStudio.Paradox.Effects.Cubemap.CubemapBlendComponent source) { source = new SiliconStudio.Paradox.Effects.Cubemap.CubemapBlendComponent(); }
/// <inheritdoc/> public void ConvertFromData(SiliconStudio.Core.Serialization.Converters.ConverterContext context, SiliconStudio.Paradox.Effects.Cubemap.Data.CubemapBlendComponentData target, ref SiliconStudio.Paradox.Effects.Cubemap.CubemapBlendComponent source) { source.Enabled = target.Enabled; source.Size = target.Size; source.MaxBlendCount = target.MaxBlendCount; source.TextureKey = target.TextureKey; }
/// <inheritdoc/> public void ConvertToData(SiliconStudio.Core.Serialization.Converters.ConverterContext context, ref SiliconStudio.Paradox.Effects.Cubemap.Data.CubemapBlendComponentData target, SiliconStudio.Paradox.Effects.Cubemap.CubemapBlendComponent source) { if (target == null) { target = new SiliconStudio.Paradox.Effects.Cubemap.Data.CubemapBlendComponentData(); } { var targetBase = (SiliconStudio.Paradox.EntityModel.Data.EntityComponentData)target; var sourceBase = (SiliconStudio.Paradox.EntityModel.EntityComponent)source; ConvertToData(context, ref targetBase, sourceBase); } target.Enabled = source.Enabled; target.Size = source.Size; target.MaxBlendCount = source.MaxBlendCount; target.TextureKey = source.TextureKey; }