mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-29 14:38:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
179
brutal.gltf/Brutal.Gltf/GltfApi/GeneratedSchema/Asset.gen.cs
Normal file
179
brutal.gltf/Brutal.Gltf/GltfApi/GeneratedSchema/Asset.gen.cs
Normal file
|
|
@ -0,0 +1,179 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Brutal.GltfApi {
|
||||
using System.Linq;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Object part of the GLTF file schema
|
||||
/// Metadata about the glTF asset.
|
||||
/// </summary>
|
||||
public partial class Asset {
|
||||
|
||||
/// <summary>
|
||||
/// Backing field for Copyright.
|
||||
/// </summary>
|
||||
private string m_copyright;
|
||||
|
||||
/// <summary>
|
||||
/// Backing field for Generator.
|
||||
/// </summary>
|
||||
private string m_generator;
|
||||
|
||||
/// <summary>
|
||||
/// Backing field for Version.
|
||||
/// </summary>
|
||||
private string m_version;
|
||||
|
||||
/// <summary>
|
||||
/// Backing field for MinVersion.
|
||||
/// </summary>
|
||||
private string m_minVersion;
|
||||
|
||||
/// <summary>
|
||||
/// Backing field for Extensions.
|
||||
/// </summary>
|
||||
private System.Collections.Generic.Dictionary<string, object> m_extensions;
|
||||
|
||||
/// <summary>
|
||||
/// Backing field for Extras.
|
||||
/// </summary>
|
||||
private Extras m_extras;
|
||||
|
||||
/// <summary>
|
||||
/// A copyright message suitable for display to credit the content creator.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("copyright")]
|
||||
public string Copyright {
|
||||
get {
|
||||
return this.m_copyright;
|
||||
}
|
||||
set {
|
||||
this.m_copyright = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Tool that generated this glTF model. Useful for debugging.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("generator")]
|
||||
public string Generator {
|
||||
get {
|
||||
return this.m_generator;
|
||||
}
|
||||
set {
|
||||
this.m_generator = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The glTF version in the form of `major.minor` that this asset targets.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonRequiredAttribute()]
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("version")]
|
||||
public string Version {
|
||||
get {
|
||||
return this.m_version;
|
||||
}
|
||||
set {
|
||||
this.m_version = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The minimum glTF version in the form of `major.minor` that this asset targets. This property **MUST NOT** be greater than the asset version.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("minVersion")]
|
||||
public string MinVersion {
|
||||
get {
|
||||
return this.m_minVersion;
|
||||
}
|
||||
set {
|
||||
this.m_minVersion = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// JSON object with extension-specific objects.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("extensions")]
|
||||
public System.Collections.Generic.Dictionary<string, object> Extensions {
|
||||
get {
|
||||
return this.m_extensions;
|
||||
}
|
||||
set {
|
||||
this.m_extensions = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Application-specific data.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("extras")]
|
||||
public Extras Extras {
|
||||
get {
|
||||
return this.m_extras;
|
||||
}
|
||||
set {
|
||||
this.m_extras = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This method is used to determine if the Copyright property should be serialized.
|
||||
/// </summary>
|
||||
public bool ShouldSerializeCopyright() {
|
||||
return ((m_copyright == null)
|
||||
== false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This method is used to determine if the Generator property should be serialized.
|
||||
/// </summary>
|
||||
public bool ShouldSerializeGenerator() {
|
||||
return ((m_generator == null)
|
||||
== false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This method is used to determine if the Version property should be serialized.
|
||||
/// </summary>
|
||||
public bool ShouldSerializeVersion() {
|
||||
return ((m_version == null)
|
||||
== false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This method is used to determine if the MinVersion property should be serialized.
|
||||
/// </summary>
|
||||
public bool ShouldSerializeMinVersion() {
|
||||
return ((m_minVersion == null)
|
||||
== false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This method is used to determine if the Extensions property should be serialized.
|
||||
/// </summary>
|
||||
public bool ShouldSerializeExtensions() {
|
||||
return ((m_extensions == null)
|
||||
== false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This method is used to determine if the Extras property should be serialized.
|
||||
/// </summary>
|
||||
public bool ShouldSerializeExtras() {
|
||||
return ((m_extras == null)
|
||||
== false);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue