Class GltfObject
Assembly: cs.temp.dll.dll
[Serializable]
public class GltfObject : GltfProperty
Fields
An array of accessors. An accessor is a typed view into a bufferView.
Declaration
public GltfAccessor[] accessors
Field Value
An array of keyframe animations.
Declaration
public GltfAnimation[] animations
Field Value
Metadata about the glTF asset.
Declaration
public GltfAssetInfo asset
Field Value
An array of buffers. A buffer points to binary geometry, animation, or skins.
Declaration
public GltfBuffer[] buffers
Field Value
An array of bufferViews.
A bufferView is a view into a buffer generally representing a subset of the buffer.
Declaration
public GltfBufferView[] bufferViews
Field Value
An array of cameras. A camera defines a projection matrix.
Declaration
public GltfCamera[] cameras
Field Value
Names of glTF extensions required to properly load this asset.
Declaration
public string[] extensionsRequired
Field Value
Names of glTF extensions used somewhere in this asset.
Declaration
public string[] extensionsUsed
Field Value
An array of images. An image defines data used to create a texture.
Declaration
public GltfImage[] images
Field Value
An array of materials. A material defines the appearance of a primitive.
Declaration
public GltfMaterial[] materials
Field Value
An array of meshes. A mesh is a set of primitives to be rendered.
Declaration
Field Value
Declaration
Field Value
An array of samplers. A sampler contains properties for texture filtering and wrapping modes.
Declaration
public GltfSampler[] samplers
Field Value
The index of the default scene.
Declaration
Field Value
Declaration
public GltfScene[] scenes
Field Value
An array of skins. A skin is defined by joints and matrices.
Declaration
Field Value
textures
Declaration
public GltfTexture[] textures
Field Value
Properties
Declaration
public GameObject GameObjectReference { get; }
Property Value
Type |
Description |
GameObject |
|
The name of the gltf Object.
Declaration
public string Name { get; }
Property Value
The list of registered glTF extensions found for this object.
Declaration
public List<GltfExtension> RegisteredExtensions { get; }
Property Value
Type |
Description |
List<GltfExtension> |
|
The absolute path to the glTF Object on disk.
Declaration
public string Uri { get; }
Property Value
Methods
Get an accessor from an accessor index
Declaration
public GltfAccessor GetAccessor(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns