Table of Contents

Enum GltfObjectModelProperty.GltfObjectModelType

Namespace
Godot
Assembly
GodotSharp.dll
public enum GltfObjectModelProperty.GltfObjectModelType : long

Fields

Bool = 1

Object 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 0 is false, and any other value is true.

Float = 2

Object model type "float". Represented in the glTF JSON as a number, and encoded in a GltfAccessor as "SCALAR".

Float2 = 4

Object model type "float2". Represented in the glTF JSON as an array of two numbers, and encoded in a GltfAccessor as "VEC2".

Float2X2 = 7

Object model type "float2x2". Represented in the glTF JSON as an array of four numbers, and encoded in a GltfAccessor as "MAT2".

Float3 = 5

Object model type "float3". Represented in the glTF JSON as an array of three numbers, and encoded in a GltfAccessor as "VEC3".

Float3X3 = 8

Object model type "float3x3". Represented in the glTF JSON as an array of nine numbers, and encoded in a GltfAccessor as "MAT3".

Float4 = 6

Object model type "float4". Represented in the glTF JSON as an array of four numbers, and encoded in a GltfAccessor as "VEC4".

Float4X4 = 9

Object model type "float4x4". Represented in the glTF JSON as an array of sixteen numbers, and encoded in a GltfAccessor as "MAT4".

FloatArray = 3

Object model type "float[lb][rb]". Represented in the glTF JSON as an array of numbers, and encoded in a GltfAccessor as "SCALAR".

Int = 10

Object 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 = 0

Unknown or not set object model type. If the object model type is set to this value, the real type still needs to be determined.