コード例 #1
0
ファイル: SpecularMap.cs プロジェクト: nkirdis/ColladaXna
 public SpecularMap(TextureReference texture)
 {
     Texture = texture;
 }
コード例 #2
0
 public EnvironmentMap(TextureReference texture)
 {
     Texture = texture;
 }
コード例 #3
0
 /// <summary>
 /// Creates a default normal map with given texture
 /// and Dot3 Bump Mapping.
 /// </summary>
 /// <param name="texture"></param>
 public NormalMap(TextureReference texture)
     : this(texture, NormalMapType.ParallaxMapping)
 {
 }
コード例 #4
0
 /// <summary>
 /// Creates a normal map with given texture and type
 /// </summary>
 /// <param name="texture">Texture reference</param>
 /// <param name="type">Type of normal mapping</param>
 public NormalMap(TextureReference texture, NormalMapType type)
 {
     Texture       = texture;
     Type          = type;
     ParallaxScale = new Vector2(0.03f, -0.025f);
 }
コード例 #5
0
 public OpacityMap(TextureReference texture)
 {
     Texture = texture;
 }
コード例 #6
0
ファイル: SpecularMap.cs プロジェクト: boinst/ColladaXna
 public SpecularMap(TextureReference texture)
 {
     Texture = texture;
 }
コード例 #7
0
ファイル: EnvironmentMap.cs プロジェクト: boinst/ColladaXna
 public EnvironmentMap(TextureReference texture)
 {
     Texture = texture;
 }
コード例 #8
0
ファイル: AmbientMap.cs プロジェクト: nkirdis/ColladaXna
 public AmbientMap(TextureReference texture)
 {
     Texture = texture;
 }
コード例 #9
0
ファイル: NormalMap.cs プロジェクト: boinst/ColladaXna
 /// <summary>
 /// Creates a default normal map with given texture
 /// and Dot3 Bump Mapping.
 /// </summary>
 /// <param name="texture"></param>
 public NormalMap(TextureReference texture)
     : this(texture, NormalMapType.ParallaxMapping)
 {
 }
コード例 #10
0
ファイル: NormalMap.cs プロジェクト: boinst/ColladaXna
 /// <summary>
 /// Creates a normal map with given texture and type
 /// </summary>
 /// <param name="texture">Texture reference</param>
 /// <param name="type">Type of normal mapping</param>        
 public NormalMap(TextureReference texture, NormalMapType type)
 {
     Texture = texture;
     Type = type;
     ParallaxScale = new Vector2(0.03f, -0.025f);
 }
コード例 #11
0
ファイル: EmissiveMap.cs プロジェクト: nkirdis/ColladaXna
 public EmissiveMap(TextureReference texture)
 {
     Texture = texture;
 }
コード例 #12
0
 public AmbientMap(TextureReference texture)
 {
     Texture = texture;
 }
コード例 #13
0
 public DiffuseMap(TextureReference texture)
 {
     Texture = texture;
 }
コード例 #14
0
ファイル: OpacityMap.cs プロジェクト: nkirdis/ColladaXna
 public OpacityMap(TextureReference texture)
 {
     Texture = texture;
 }
コード例 #15
0
ファイル: DiffuseMap.cs プロジェクト: nkirdis/ColladaXna
 public DiffuseMap(TextureReference texture)
 {
     Texture = texture;
 }