Method GetAccessorAttributeTypeLength
GetAccessorAttributeTypeLength(GltfAccessorAttributeType)
Get number of components of glTF attribute type.
Declaration
public static int GetAccessorAttributeTypeLength(GltfAccessorAttributeType type)
Parameters
Type | Name | Description |
---|---|---|
GltfAccessorAttributeType | type | glTF attribute type |
Returns
Type | Description |
---|---|
int | Number of components |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | Thrown when the value of type is unknown. |