Class Mesh
Assembly: Evergine.Assets.dll
Syntax
Properties
Extensions
Dictionary object with extension-specific objects.
Declaration
[JsonProperty("extensions")]
public Dictionary<string, object> Extensions { get; set; }
Property Value
Application-specific data.
Declaration
[JsonProperty("extras")]
public Extras Extras { get; set; }
Property Value
Name
The user-defined name of this object.
Declaration
[JsonProperty("name")]
public string Name { get; set; }
Property Value
Primitives
An array of primitives, each defining geometry to be rendered with a material.
Declaration
[JsonRequired]
[JsonProperty("primitives")]
public MeshPrimitive[] Primitives { get; set; }
Property Value
Weights
Array of weights to be applied to the Morph Targets.
Declaration
[JsonConverter(typeof(ArrayConverter))]
[JsonProperty("weights")]
public float[] Weights { get; set; }
Property Value
Methods
ShouldSerializeExtensions()
Declaration
public bool ShouldSerializeExtensions()
Returns
Declaration
public bool ShouldSerializeExtras()
Returns
ShouldSerializeName()
Declaration
public bool ShouldSerializeName()
Returns
ShouldSerializePrimitives()
Declaration
public bool ShouldSerializePrimitives()
Returns
ShouldSerializeWeights()
Declaration
public bool ShouldSerializeWeights()
Returns
Extension Methods