grunk/assets/props/wall_switch/wall_switch.gltf

558 lines
7.5 KiB
JSON

{
"asset":{
"generator":"Khronos glTF Blender I/O v4.3.47",
"version":"2.0"
},
"scene":0,
"scenes":[
{
"name":"Scene",
"nodes":[
3
]
}
],
"nodes":[
{
"name":"Case",
"scale":[
0.9999999403953552,
0.9999999403953552,
0.9999999403953552
]
},
{
"name":"Switch",
"rotation":[
0,
1.1920928955078125e-07,
0,
1
],
"scale":[
0.9999999403953552,
0.9999999403953552,
0.9999999403953552
],
"translation":[
-0.10576892644166946,
0.22247494757175446,
0.11068853735923767
]
},
{
"mesh":0,
"name":"Handle",
"skin":0
},
{
"children":[
2,
0,
1
],
"name":"Armature",
"scale":[
0.7136169075965881,
0.7136169075965881,
0.7136169075965881
],
"translation":[
0,
-0.32776108384132385,
0
]
}
],
"animations":[
{
"channels":[
{
"sampler":0,
"target":{
"node":0,
"path":"translation"
}
},
{
"sampler":1,
"target":{
"node":0,
"path":"rotation"
}
},
{
"sampler":2,
"target":{
"node":0,
"path":"scale"
}
},
{
"sampler":3,
"target":{
"node":1,
"path":"translation"
}
},
{
"sampler":4,
"target":{
"node":1,
"path":"rotation"
}
},
{
"sampler":5,
"target":{
"node":1,
"path":"scale"
}
}
],
"name":"activate",
"samplers":[
{
"input":7,
"interpolation":"STEP",
"output":8
},
{
"input":7,
"interpolation":"STEP",
"output":9
},
{
"input":7,
"interpolation":"STEP",
"output":10
},
{
"input":7,
"interpolation":"STEP",
"output":11
},
{
"input":12,
"interpolation":"LINEAR",
"output":13
},
{
"input":7,
"interpolation":"STEP",
"output":14
}
]
},
{
"channels":[
{
"sampler":0,
"target":{
"node":0,
"path":"translation"
}
},
{
"sampler":1,
"target":{
"node":0,
"path":"rotation"
}
},
{
"sampler":2,
"target":{
"node":0,
"path":"scale"
}
},
{
"sampler":3,
"target":{
"node":1,
"path":"translation"
}
},
{
"sampler":4,
"target":{
"node":1,
"path":"rotation"
}
},
{
"sampler":5,
"target":{
"node":1,
"path":"scale"
}
}
],
"name":"RESET",
"samplers":[
{
"input":15,
"interpolation":"LINEAR",
"output":16
},
{
"input":15,
"interpolation":"LINEAR",
"output":17
},
{
"input":15,
"interpolation":"LINEAR",
"output":18
},
{
"input":15,
"interpolation":"LINEAR",
"output":19
},
{
"input":15,
"interpolation":"LINEAR",
"output":20
},
{
"input":15,
"interpolation":"LINEAR",
"output":21
}
]
}
],
"materials":[
{
"doubleSided":true,
"name":"WallSwitch",
"pbrMetallicRoughness":{
"baseColorFactor":[
0.800000011920929,
0.800000011920929,
0.800000011920929,
1
],
"metallicFactor":0,
"roughnessFactor":0.5
}
}
],
"meshes":[
{
"name":"Cube.001",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2,
"JOINTS_0":3,
"WEIGHTS_0":4
},
"indices":5,
"material":0
}
]
}
],
"skins":[
{
"inverseBindMatrices":6,
"joints":[
0,
1
],
"name":"Armature"
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":312,
"max":[
0.3149999976158142,
0.3999999761581421,
0.12200002372264862
],
"min":[
-0.3149999976158142,
-0.3999999761581421,
-0.11000002920627594
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":312,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":312,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5121,
"count":312,
"type":"VEC4"
},
{
"bufferView":4,
"componentType":5126,
"count":312,
"type":"VEC4"
},
{
"bufferView":5,
"componentType":5123,
"count":564,
"type":"SCALAR"
},
{
"bufferView":6,
"componentType":5126,
"count":2,
"type":"MAT4"
},
{
"bufferView":7,
"componentType":5126,
"count":2,
"max":[
5.625
],
"min":[
0.041666666666666664
],
"type":"SCALAR"
},
{
"bufferView":8,
"componentType":5126,
"count":2,
"type":"VEC3"
},
{
"bufferView":9,
"componentType":5126,
"count":2,
"type":"VEC4"
},
{
"bufferView":10,
"componentType":5126,
"count":2,
"type":"VEC3"
},
{
"bufferView":11,
"componentType":5126,
"count":2,
"type":"VEC3"
},
{
"bufferView":12,
"componentType":5126,
"count":135,
"max":[
5.625
],
"min":[
0.041666666666666664
],
"type":"SCALAR"
},
{
"bufferView":13,
"componentType":5126,
"count":135,
"type":"VEC4"
},
{
"bufferView":14,
"componentType":5126,
"count":2,
"type":"VEC3"
},
{
"bufferView":15,
"componentType":5126,
"count":1,
"max":[
0.041666666666666664
],
"min":[
0.041666666666666664
],
"type":"SCALAR"
},
{
"bufferView":16,
"componentType":5126,
"count":1,
"type":"VEC3"
},
{
"bufferView":17,
"componentType":5126,
"count":1,
"type":"VEC4"
},
{
"bufferView":18,
"componentType":5126,
"count":1,
"type":"VEC3"
},
{
"bufferView":19,
"componentType":5126,
"count":1,
"type":"VEC3"
},
{
"bufferView":20,
"componentType":5126,
"count":1,
"type":"VEC4"
},
{
"bufferView":21,
"componentType":5126,
"count":1,
"type":"VEC3"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":3744,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":3744,
"byteOffset":3744,
"target":34962
},
{
"buffer":0,
"byteLength":2496,
"byteOffset":7488,
"target":34962
},
{
"buffer":0,
"byteLength":1248,
"byteOffset":9984,
"target":34962
},
{
"buffer":0,
"byteLength":4992,
"byteOffset":11232,
"target":34962
},
{
"buffer":0,
"byteLength":1128,
"byteOffset":16224,
"target":34963
},
{
"buffer":0,
"byteLength":128,
"byteOffset":17352
},
{
"buffer":0,
"byteLength":8,
"byteOffset":17480
},
{
"buffer":0,
"byteLength":24,
"byteOffset":17488
},
{
"buffer":0,
"byteLength":32,
"byteOffset":17512
},
{
"buffer":0,
"byteLength":24,
"byteOffset":17544
},
{
"buffer":0,
"byteLength":24,
"byteOffset":17568
},
{
"buffer":0,
"byteLength":540,
"byteOffset":17592
},
{
"buffer":0,
"byteLength":2160,
"byteOffset":18132
},
{
"buffer":0,
"byteLength":24,
"byteOffset":20292
},
{
"buffer":0,
"byteLength":4,
"byteOffset":20316
},
{
"buffer":0,
"byteLength":12,
"byteOffset":20320
},
{
"buffer":0,
"byteLength":16,
"byteOffset":20332
},
{
"buffer":0,
"byteLength":12,
"byteOffset":20348
},
{
"buffer":0,
"byteLength":12,
"byteOffset":20360
},
{
"buffer":0,
"byteLength":16,
"byteOffset":20372
},
{
"buffer":0,
"byteLength":12,
"byteOffset":20388
}
],
"buffers":[
{
"byteLength":20400,
"uri":"wall_switch.bin"
}
]
}