Konstantin Koch 8287c54432 Included the Visual Studio extension and made the necessary changes to make it run.
Replaced the old VS templates with ones that offer more flexiblity.
Started replacing the Content Project for the samples with our custom project type.
Inlcuded a basic not yet working AssimpImporter.
2015-04-08 14:50:03 +02:00

68 lines
2.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ANX.Framework.Content.Pipeline.Graphics
{
public class AssimpMaterialContent : BasicMaterialContent
{
public const string AmbientColorKey = "AmbientColor";
public const string BumpScalingKey = "BumpScaling";
public const string ReflectivityKey = "Reflectivity";
public const string ReflectiveColorKey = "ReflectiveColor";
public const string IsTwoSidedKey = "TwoSided";
public const string IsWireframeKey = "Wireframe";
public const string IsAdditiveKey = "Additive";
public const string ShadingModeKey = "ShadingMode";
public Vector3? AmbientColor
{
get { return this.GetValueTypeProperty<Vector3>(AmbientColorKey); }
set { this.SetProperty(AmbientColorKey, value); }
}
public float? BumpScaling
{
get { return this.GetValueTypeProperty<float>(BumpScalingKey); }
set { this.SetProperty(BumpScalingKey, value); }
}
public float? Reflectivity
{
get { return this.GetValueTypeProperty<float>(ReflectivityKey); }
set { this.SetProperty(ReflectivityKey, value); }
}
public Vector3? ReflectiveColor
{
get { return this.GetValueTypeProperty<Vector3>(ReflectiveColorKey); }
set { this.SetProperty(ReflectiveColorKey, value); }
}
public bool? IsTwoSided
{
get { return this.GetValueTypeProperty<bool>(IsTwoSidedKey); }
set { this.SetProperty(IsTwoSidedKey, value); }
}
public bool? IsWireframe
{
get { return this.GetValueTypeProperty<bool>(IsWireframeKey); }
set { this.SetProperty(IsWireframeKey, value); }
}
public bool? IsAdditive
{
get { return this.GetValueTypeProperty<bool>(IsAdditiveKey); }
set { this.SetProperty(IsAdditiveKey, value); }
}
public string ShadingMode
{
get { return this.GetReferenceTypeProperty<string>(ShadingModeKey); }
set { this.SetProperty(ShadingModeKey, value); }
}
}
}