Enum GltfObjectModelProperty.GltfObjectModelType
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum GltfObjectModelProperty.GltfObjectModelType : long
Fields
Bool = 1Object model type "bool". Represented in the glTF JSON as a boolean, and encoded in a GltfAccessor as "SCALAR". When encoded in an accessor, a value of
0is false, and any other value is true.Float = 2Object model type "float". Represented in the glTF JSON as a number, and encoded in a GltfAccessor as "SCALAR".
Float2 = 4Object model type "float2". Represented in the glTF JSON as an array of two numbers, and encoded in a GltfAccessor as "VEC2".
Float2X2 = 7Object model type "float2x2". Represented in the glTF JSON as an array of four numbers, and encoded in a GltfAccessor as "MAT2".
Float3 = 5Object model type "float3". Represented in the glTF JSON as an array of three numbers, and encoded in a GltfAccessor as "VEC3".
Float3X3 = 8Object model type "float3x3". Represented in the glTF JSON as an array of nine numbers, and encoded in a GltfAccessor as "MAT3".
Float4 = 6Object model type "float4". Represented in the glTF JSON as an array of four numbers, and encoded in a GltfAccessor as "VEC4".
Float4X4 = 9Object model type "float4x4". Represented in the glTF JSON as an array of sixteen numbers, and encoded in a GltfAccessor as "MAT4".
FloatArray = 3Object model type "float[lb][rb]". Represented in the glTF JSON as an array of numbers, and encoded in a GltfAccessor as "SCALAR".
Int = 10Object model type "int". Represented in the glTF JSON as a number, and encoded in a GltfAccessor as "SCALAR". The range of values is limited to signed integers. For
KHR_interactivity, only 32-bit integers are supported.Unknown = 0Unknown or not set object model type. If the object model type is set to this value, the real type still needs to be determined.