Namespace Unity.Cloud.Gltfast.Objects
Classes
Accessor
An accessor defines a method for retrieving data as typed arrays from within a buffer view. See . accessor in the glTF 2.0 specification.
AccessorExtensions
Accessor extensions.
AccessorSparse
Sparse property of a glTF
AccessorSparseExtensions
Accessor sparse extensions.
AccessorSparseIndices
Sparse indices property of a glTF
AccessorSparseIndicesExtensions
Accessor sparse indices extensions.
AccessorSparseValues
Sparse values property of a glTF
AccessorSparseValuesExtensions
Accessor sparse values extensions.
AdditionalPropertyContainer
glTF object base class
Animation
A keyframe animation.
AnimationChannel
AnimationChannelExtensions
Animation channel extensions.
AnimationChannelTarget
AnimationChannelTargetExtensions
Animation channel target extensions.
AnimationExtensions
Animation extensions.
AnimationSampler
AnimationSamplerExtensions
Animation sampler extensions.
Asset
Metadata about the glTF asset.
AssetExtensions
Asset extensions.
Attributes
Mesh vertex attribute collection. Each property value is the index of the accessor containing attribute’s data.
AttributesExtensions
Bounds-checked, allocation-aware index accessors for the indexed
attribute families on Attributes (TEXCOORD_n,
COLOR_n, JOINTS_n, WEIGHTS_n).
Buffer
A buffer points to binary geometry, animation, or skins.
BufferExtensions
Buffer extensions.
BufferView
A view into a buffer generally representing a subset of the buffer.
BufferViewExtensions
BufferView extensions
BufferViewMeshoptExtension
Camera
A camera’s projection
CameraExtensions
Camera extensions.
CameraOrthographic
An orthographic camera containing properties to create an orthographic projection matrix.
CameraOrthographicExtensions
Orthographic camera extensions.
CameraPerspective
A perspective camera containing properties to create a perspective projection matrix.
CameraPerspectiveExtensions
Perspective camera extensions.
ClearCoat
This extension defines a clear coating that can be layered on top of an existing glTF material definition.
ExtrasContainer
Application-specific data (extras) of a glTF JSON object.
Image
Image data used to create a texture.
ImageExtensions
Image extensions.
InstancesAttributes
Per-instance attributes collection
LightPunctual
Light
LightsPunctual
Extension for adding punctual lights.
Material
The material appearance of a primitive.
MaterialExtensions
Material extensions.
MaterialIor
The dielectric BRDF of the metallic-roughness material in glTF uses a fixed value of 1.5 for the index of refraction. This is a good fit for many plastics and glass, but not for other materials like water or asphalt, sapphire or diamond. This extension allows users to set the index of refraction to a certain value.
MaterialSpecular
This extension allows configuring the specular reflection.
MaterialUnlit
This extension defines an unlit shading model for use in glTF 2.0 materials, as an alternative to the Physically Based Rendering (PBR) shading models provided by the core specification.
MaterialVariantsMapping
Maps a material index to one or more materials variants indices.
MaterialsVariant
Named materials variant.
MaterialsVariantsMeshPrimitiveExtension
Mesh primitive level KHR_materials_variants extension.
MaterialsVariantsRootExtension
KHR_materials_variants extension.
Mesh
A set of primitives to be rendered. Its global transform is defined by a node that references it.
MeshExtensions
Mesh extensions.
MeshExtras
Application-specific data for meshes
MeshGpuInstancing
Extension for enabling GPU instancing, rendering many copies of a single mesh at once using a small number of draw calls.
MeshPrimitive
Geometry to be rendered with the given material.
MeshPrimitiveDracoExtension
MeshPrimitiveExtensions
Mesh primitive extensions
MeshoptFilterExtensions
MeshoptModeExtensions
MorphTarget
Morph target (blend shape)
NamedObject
Base class for anything with a name property
Node
An object defining the hierarchy relations and the local transform of its content.
NodeExtensions
Node extensions
NodeLightsPunctual
Assigns a light to a node
NormalTextureInfo
Normal map specific texture info
OcclusionTextureInfo
Occlusion map specific texture info
PbrMetallicRoughness
A set of parameter values that are used to define the metallic-roughness material model from Physically-Based Rendering (PBR) methodology.
PbrMetallicRoughnessExtensions
PBR metallic-roughness extensions.
PbrSpecularGlossiness
This extension defines the specular-glossiness material model from Physically-Based Rendering (PBR).
Root
The root object for a glTF asset.
RootExtensions
glTF root extensions
Sampler
Texture sampler properties for filtering and wrapping modes.
SamplerExtensions
Sampler extensions.
Scene
Scene, the top level hierarchy object.
SceneExtensions
Scene extensions.
Sheen
This extension defines a sheen that can be layered on top of an existing glTF material definition. A sheen layer is a common technique used in Physically-Based Rendering to represent cloth and fabric materials, for example.
Skin
Joints and matrices defining a skinned mesh.
SkinExtensions
Skin extensions.
SpotLight
glTF spot light properties
Texture
A texture is defined by an image and a sampler.
TextureBasisUniversal
Basis Universal texture extension
TextureExtensions
Texture extensions
TextureInfo
Reference to a texture.
TextureInfoExtensions
TextureInfo extensions
TextureTransform
KHR_texture_transform glTF extension
Transmission
Extension for optical transparency (transmission)
UriValue
Holds the value of a glTF URI field.
For a regular URI (relative path or remote URL) the original string is preserved.
For a base-64 data: URI the payload is decoded into a NativeArray_1
during JSON parsing, avoiding the otherwise required UTF-16 string allocation of the
(potentially very large) encoded payload.
Structs
Color
Linear RGB color without alpha channel.
ColorAlpha
Linear RGBA color.
EnumOrRawValue<TEnum>
Wrapper for glTF string properties that the specification has a limited set of valid values for. If the value is unknown (may have been introduced by a glTF extension), Value will have the default value and RawValue will hold the original UTF-8 encoded string value.
Property
A single property (key/value pair) of a JSON object Value.
PropertyEnumerator
Enumerates the properties of ReadOnlyProperties as Property items.
ReadOnlyProperties
Allocation-free view into additional properties of a glTF JSON object.
Value
Read-only view over a single JSON value, used to traverse arbitrary JSON data.
Value.ObjectEnumerator
Enumerates the properties of an object Value as Property items.
Interfaces
IPropertyContainer
Provides access to additional properties on glTF extension or extras objects. Those are neither defined in the glTF specification (the currently supported version) nor any extension supported by glTFast.
IReadOnlyPropertyContainer
Provides read-only access to additional properties on glTF extension or extras objects. Those are neither defined in the glTF specification (the currently supported version) nor any extension supported by glTFast.
Enums
AccessorDataType
The datatype of the Accessor's components.
AccessorType
Specifies if the accessor’s elements are scalars, vectors, or matrices.
AlphaMode
The material’s alpha rendering mode enumeration specifying the interpretation of the alpha value of the base color.
AnimationPath
The name of the node’s TRS property to animate, or the "weights" of the Morph Targets it instantiates.
BufferViewTarget
GPU buffer type. Relates to WebGL's bindBuffer.
CameraType
Camera projection type
ImageMimeType
The image's MIME type enumeration specifying the encoding of the image data.
Interpolation
glTF animation interpolation algorithm.
LightType
Light type
MagFilterMode
Magnification filter mode.
MeshoptFilter
Vertex attribute filter to be applied
MeshoptMode
Mode defines the type of buffer to decode
MinFilterMode
Minification filter mode.
PrimitiveMode
The topology type of primitives to render.
ValueKind
The kind of JSON value a Value represents.
WrapMode
Texture wrap mode.