-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,20 @@ | ||
// ---------------------------------------------------------------------- | ||
// @Namespace : UniGLTFforUniVgo | ||
// @Class : glTF_VGO_materials | ||
// @Class : KHR_materials_unlit | ||
// ---------------------------------------------------------------------- | ||
namespace UniGLTFforUniVgo | ||
{ | ||
using Newtonsoft.Json; | ||
using System; | ||
|
||
/// <summary> | ||
/// | ||
/// KHR materials unlit | ||
/// </summary> | ||
[Serializable] | ||
public class glTF_VGO_materials | ||
[JsonObject("material.extensions.KHR_materials_unlit")] | ||
public class KHR_materials_unlit | ||
{ | ||
/// <summary>Shader Name</summary> | ||
[JsonProperty("shaderName", Required = Required.Always)] | ||
public string shaderName = null; | ||
|
||
[JsonIgnore] | ||
public static string ExtensionName => "VGO_materials"; | ||
public static string ExtensionName => "KHR_materials_unlit"; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// ---------------------------------------------------------------------- | ||
// @Namespace : UniGLTFforUniVgo | ||
// @Class : VGO_materials | ||
// ---------------------------------------------------------------------- | ||
namespace UniGLTFforUniVgo | ||
{ | ||
using Newtonsoft.Json; | ||
using System; | ||
|
||
/// <summary> | ||
/// VGO materials | ||
/// </summary> | ||
[Serializable] | ||
[JsonObject("material.extensions.VGO_materials")] | ||
public class VGO_materials | ||
{ | ||
/// <summary>Shader Name</summary> | ||
[JsonProperty("shaderName", Required = Required.Always)] | ||
public string shaderName = null; | ||
|
||
[JsonIgnore] | ||
public static string ExtensionName => "VGO_materials"; | ||
|
||
#region Constructors | ||
|
||
/// <summary> | ||
/// | ||
/// </summary> | ||
public VGO_materials() | ||
{ | ||
} | ||
|
||
/// <summary> | ||
/// | ||
/// </summary> | ||
/// <param name="shaderName"></param> | ||
public VGO_materials(string shaderName) | ||
{ | ||
this.shaderName = shaderName; | ||
} | ||
|
||
#endregion | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.