Class Gltf
Assembly: Evergine.Assets.dll
Syntax
Properties
Accessors
Declaration
[JsonProperty("accessors")]
public Accessor[] Accessors { get; set; }
Property Value
Animations
An array of keyframe animations.
Declaration
[JsonProperty("animations")]
public Animation[] Animations { get; set; }
Property Value
Asset
Metadata about the glTF asset.
Declaration
[JsonRequired]
[JsonProperty("asset")]
public Asset Asset { get; set; }
Property Value
BufferViews
Declaration
[JsonProperty("bufferViews")]
public BufferView[] BufferViews { get; set; }
Property Value
Buffers
Declaration
[JsonProperty("buffers")]
public Buffer[] Buffers { get; set; }
Property Value
Cameras
Declaration
[JsonProperty("cameras")]
public Camera[] Cameras { get; set; }
Property Value
Extensions
Dictionary object with extension-specific objects.
Declaration
[JsonProperty("extensions")]
public Dictionary<string, object> Extensions { get; set; }
Property Value
ExtensionsRequired
Names of glTF extensions required to properly load this asset.
Declaration
[JsonConverter(typeof(ArrayConverter))]
[JsonProperty("extensionsRequired")]
public string[] ExtensionsRequired { get; set; }
Property Value
ExtensionsUsed
Names of glTF extensions used somewhere in this asset.
Declaration
[JsonConverter(typeof(ArrayConverter))]
[JsonProperty("extensionsUsed")]
public string[] ExtensionsUsed { get; set; }
Property Value
Application-specific data.
Declaration
[JsonProperty("extras")]
public Extras Extras { get; set; }
Property Value
Images
Declaration
[JsonProperty("images")]
public Image[] Images { get; set; }
Property Value
Materials
Declaration
[JsonProperty("materials")]
public Material[] Materials { get; set; }
Property Value
Meshes
Declaration
[JsonProperty("meshes")]
public Mesh[] Meshes { get; set; }
Property Value
Nodes
Declaration
[JsonProperty("nodes")]
public Node[] Nodes { get; set; }
Property Value
Samplers
Declaration
[JsonProperty("samplers")]
public Sampler[] Samplers { get; set; }
Property Value
Scene
The index of the default scene.
Declaration
[JsonProperty("scene")]
public int? Scene { get; set; }
Property Value
Scenes
Declaration
[JsonProperty("scenes")]
public Scene[] Scenes { get; set; }
Property Value
Skins
Declaration
[JsonProperty("skins")]
public Skin[] Skins { get; set; }
Property Value
Textures
Declaration
[JsonProperty("textures")]
public Texture[] Textures { get; set; }
Property Value
Methods
ShouldSerializeAccessors()
Declaration
public bool ShouldSerializeAccessors()
Returns
ShouldSerializeAnimations()
Declaration
public bool ShouldSerializeAnimations()
Returns
ShouldSerializeAsset()
Declaration
public bool ShouldSerializeAsset()
Returns
ShouldSerializeBufferViews()
Declaration
public bool ShouldSerializeBufferViews()
Returns
ShouldSerializeBuffers()
Declaration
public bool ShouldSerializeBuffers()
Returns
ShouldSerializeCameras()
Declaration
public bool ShouldSerializeCameras()
Returns
ShouldSerializeExtensions()
Declaration
public bool ShouldSerializeExtensions()
Returns
ShouldSerializeExtensionsRequired()
Declaration
public bool ShouldSerializeExtensionsRequired()
Returns
ShouldSerializeExtensionsUsed()
Declaration
public bool ShouldSerializeExtensionsUsed()
Returns
Declaration
public bool ShouldSerializeExtras()
Returns
ShouldSerializeImages()
Declaration
public bool ShouldSerializeImages()
Returns
ShouldSerializeMaterials()
Declaration
public bool ShouldSerializeMaterials()
Returns
ShouldSerializeMeshes()
Declaration
public bool ShouldSerializeMeshes()
Returns
ShouldSerializeNodes()
Declaration
public bool ShouldSerializeNodes()
Returns
ShouldSerializeSamplers()
Declaration
public bool ShouldSerializeSamplers()
Returns
ShouldSerializeScene()
Declaration
public bool ShouldSerializeScene()
Returns
ShouldSerializeScenes()
Declaration
public bool ShouldSerializeScenes()
Returns
ShouldSerializeSkins()
Declaration
public bool ShouldSerializeSkins()
Returns
ShouldSerializeTextures()
Declaration
public bool ShouldSerializeTextures()
Returns
Extension Methods