forked from izrik/FbxSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFbxSurfacePhong.cs
31 lines (26 loc) · 1.08 KB
/
FbxSurfacePhong.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System;
namespace FbxSharp
{
public class FbxSurfacePhong : FbxSurfaceLambert
{
public FbxSurfacePhong(string name="")
: base(name)
{
this.Properties.AddRange(
new FbxProperty[] {
Specular,
SpecularFactor,
Shininess,
Reflection,
ReflectionFactor,
});
}
#region Material properties
public readonly FbxPropertyT<FbxVector3> Specular = new FbxPropertyT<FbxVector3>("SpecularColor");
public readonly FbxPropertyT<double> SpecularFactor = new FbxPropertyT<double>("SpecularFactor");
public readonly FbxPropertyT<double> Shininess = new FbxPropertyT<double>("ShininessExponent");
public readonly FbxPropertyT<FbxVector3> Reflection = new FbxPropertyT<FbxVector3>("ReflectionColor");
public readonly FbxPropertyT<double> ReflectionFactor = new FbxPropertyT<double>("ReflectionFactor");
#endregion
}
}