Class TextureInfo
Reference to a texture.
Inherited Members
Namespace: Unity.Cloud.Gltfast.Objects
Assembly: Unity.Cloud.Gltfast.dll
Syntax
[MovedFrom(true, "GLTFast.Schema", "glTFast", null)]
public class TextureInfo
Properties
AdditionalProperties
Additional properties on glTF JSON objects. Those properties may have been added by a new, unsupported version of the glTF specification. For extending glTF, please use extensions or extras instead.
Declaration
[JsonIgnore]
public ReadOnlyProperties AdditionalProperties { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyProperties |
Extensions
TextureInfo extensions
Declaration
[JsonPropertyName("extensions")]
public TextureInfoExtensions Extensions { get; set; }
Property Value
| Type | Description |
|---|---|
| TextureInfoExtensions |
Extras
Application-specific data.
Declaration
[JsonPropertyName("extras")]
[JsonConverter(typeof(ExtrasConverter))]
public ExtrasContainer Extras { get; set; }
Property Value
| Type | Description |
|---|---|
| ExtrasContainer |
See Also
Index
The index of the texture.
Declaration
[JsonPropertyName("index")]
public int? Index { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
TexCoord
This integer value is used to construct a string in the format TEXCOORD_<set index> which is a reference to a key in mesh.primitives.attributes (e.g. A value of 0 corresponds to TEXCOORD_0).
Declaration
[JsonPropertyName("texCoord")]
public int TexCoord { get; set; }
Property Value
| Type | Description |
|---|---|
| int |