Method GetComponentTypeSize
GetComponentTypeSize(GltfComponentType)
Provides size of components by type
Declaration
public static int GetComponentTypeSize(GltfComponentType componentType)
Parameters
Type | Name | Description |
---|---|---|
GltfComponentType | componentType | glTF component type |
Returns
Type | Description |
---|---|
int | Component size in bytes |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | Thrown when value of componentType is unknown |