NODEDC_BIM_VIEWER/docs/ast/source/contextMenuItems/CanvasContextMenuItems.js.json

15108 lines
499 KiB
JSON

{
"type": "File",
"start": 0,
"end": 2012,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 70,
"column": 32
}
},
"program": {
"type": "Program",
"start": 0,
"end": 2012,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 70,
"column": 32
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 70,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 70
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 8,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 12
}
},
"imported": {
"type": "Identifier",
"start": 8,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 12
},
"identifierName": "math"
},
"name": "math"
},
"local": {
"type": "Identifier",
"start": 8,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 12
},
"identifierName": "math"
},
"name": "math"
}
}
],
"source": {
"type": "StringLiteral",
"start": 19,
"end": 69,
"loc": {
"start": {
"line": 1,
"column": 19
},
"end": {
"line": 1,
"column": 69
}
},
"extra": {
"rawValue": "@xeokit/xeokit-sdk/src/viewer/scene/math/math.js",
"raw": "\"@xeokit/xeokit-sdk/src/viewer/scene/math/math.js\""
},
"value": "@xeokit/xeokit-sdk/src/viewer/scene/math/math.js"
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * ContextMenu items for when user right-clicks on empty canvas space.\n * @private\n ",
"start": 72,
"end": 162,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 6,
"column": 3
}
}
}
]
},
{
"type": "Identifier",
"start": 163,
"end": 1978,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 68,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 169,
"end": 1977,
"loc": {
"start": {
"line": 7,
"column": 6
},
"end": {
"line": 68,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 169,
"end": 191,
"loc": {
"start": {
"line": 7,
"column": 6
},
"end": {
"line": 7,
"column": 28
},
"identifierName": "CanvasContextMenuItems"
},
"name": "CanvasContextMenuItems",
"leadingComments": null
},
"init": {
"type": "ArrayExpression",
"start": 194,
"end": 1977,
"loc": {
"start": {
"line": 7,
"column": 31
},
"end": {
"line": 68,
"column": 1
}
},
"elements": [
{
"type": "ArrayExpression",
"start": 200,
"end": 642,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 22,
"column": 5
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 210,
"end": 411,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 14,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 224,
"end": 241,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 29
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 224,
"end": 229,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 17
},
"identifierName": "title"
},
"name": "title"
},
"value": {
"type": "StringLiteral",
"start": 231,
"end": 241,
"loc": {
"start": {
"line": 10,
"column": 19
},
"end": {
"line": 10,
"column": 29
}
},
"extra": {
"rawValue": "Hide all",
"raw": "\"Hide all\""
},
"value": "Hide all"
}
},
{
"type": "ObjectProperty",
"start": 255,
"end": 401,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 13,
"column": 13
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 255,
"end": 263,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 20
},
"identifierName": "callback"
},
"name": "callback"
},
"value": {
"type": "FunctionExpression",
"start": 265,
"end": 401,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 13,
"column": 13
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 275,
"end": 282,
"loc": {
"start": {
"line": 11,
"column": 32
},
"end": {
"line": 11,
"column": 39
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 284,
"end": 401,
"loc": {
"start": {
"line": 11,
"column": 41
},
"end": {
"line": 13,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 302,
"end": 387,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 101
}
},
"expression": {
"type": "CallExpression",
"start": 302,
"end": 386,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 100
}
},
"callee": {
"type": "MemberExpression",
"start": 302,
"end": 340,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 302,
"end": 322,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 302,
"end": 316,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 302,
"end": 309,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 23
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 310,
"end": 316,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 30
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 317,
"end": 322,
"loc": {
"start": {
"line": 12,
"column": 31
},
"end": {
"line": 12,
"column": 36
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 323,
"end": 340,
"loc": {
"start": {
"line": 12,
"column": 37
},
"end": {
"line": 12,
"column": 54
},
"identifierName": "setObjectsVisible"
},
"name": "setObjectsVisible"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 341,
"end": 378,
"loc": {
"start": {
"line": 12,
"column": 55
},
"end": {
"line": 12,
"column": 92
}
},
"object": {
"type": "MemberExpression",
"start": 341,
"end": 361,
"loc": {
"start": {
"line": 12,
"column": 55
},
"end": {
"line": 12,
"column": 75
}
},
"object": {
"type": "MemberExpression",
"start": 341,
"end": 355,
"loc": {
"start": {
"line": 12,
"column": 55
},
"end": {
"line": 12,
"column": 69
}
},
"object": {
"type": "Identifier",
"start": 341,
"end": 348,
"loc": {
"start": {
"line": 12,
"column": 55
},
"end": {
"line": 12,
"column": 62
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 349,
"end": 355,
"loc": {
"start": {
"line": 12,
"column": 63
},
"end": {
"line": 12,
"column": 69
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 356,
"end": 361,
"loc": {
"start": {
"line": 12,
"column": 70
},
"end": {
"line": 12,
"column": 75
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 362,
"end": 378,
"loc": {
"start": {
"line": 12,
"column": 76
},
"end": {
"line": 12,
"column": 92
},
"identifierName": "visibleObjectIds"
},
"name": "visibleObjectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 380,
"end": 385,
"loc": {
"start": {
"line": 12,
"column": 94
},
"end": {
"line": 12,
"column": 99
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
}
]
},
{
"type": "ObjectExpression",
"start": 421,
"end": 636,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 21,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 435,
"end": 452,
"loc": {
"start": {
"line": 16,
"column": 12
},
"end": {
"line": 16,
"column": 29
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 435,
"end": 440,
"loc": {
"start": {
"line": 16,
"column": 12
},
"end": {
"line": 16,
"column": 17
},
"identifierName": "title"
},
"name": "title"
},
"value": {
"type": "StringLiteral",
"start": 442,
"end": 452,
"loc": {
"start": {
"line": 16,
"column": 19
},
"end": {
"line": 16,
"column": 29
}
},
"extra": {
"rawValue": "Show all",
"raw": "\"Show all\""
},
"value": "Show all"
}
},
{
"type": "ObjectProperty",
"start": 466,
"end": 626,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 20,
"column": 13
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 466,
"end": 474,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 20
},
"identifierName": "callback"
},
"name": "callback"
},
"value": {
"type": "FunctionExpression",
"start": 476,
"end": 626,
"loc": {
"start": {
"line": 17,
"column": 22
},
"end": {
"line": 20,
"column": 13
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 486,
"end": 493,
"loc": {
"start": {
"line": 17,
"column": 32
},
"end": {
"line": 17,
"column": 39
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 495,
"end": 626,
"loc": {
"start": {
"line": 17,
"column": 41
},
"end": {
"line": 20,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 513,
"end": 548,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 519,
"end": 547,
"loc": {
"start": {
"line": 18,
"column": 22
},
"end": {
"line": 18,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 519,
"end": 524,
"loc": {
"start": {
"line": 18,
"column": 22
},
"end": {
"line": 18,
"column": 27
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 527,
"end": 547,
"loc": {
"start": {
"line": 18,
"column": 30
},
"end": {
"line": 18,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 527,
"end": 541,
"loc": {
"start": {
"line": 18,
"column": 30
},
"end": {
"line": 18,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 527,
"end": 534,
"loc": {
"start": {
"line": 18,
"column": 30
},
"end": {
"line": 18,
"column": 37
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 535,
"end": 541,
"loc": {
"start": {
"line": 18,
"column": 38
},
"end": {
"line": 18,
"column": 44
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 542,
"end": 547,
"loc": {
"start": {
"line": 18,
"column": 45
},
"end": {
"line": 18,
"column": 50
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 565,
"end": 612,
"loc": {
"start": {
"line": 19,
"column": 16
},
"end": {
"line": 19,
"column": 63
}
},
"expression": {
"type": "CallExpression",
"start": 565,
"end": 611,
"loc": {
"start": {
"line": 19,
"column": 16
},
"end": {
"line": 19,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
"start": 565,
"end": 588,
"loc": {
"start": {
"line": 19,
"column": 16
},
"end": {
"line": 19,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 565,
"end": 570,
"loc": {
"start": {
"line": 19,
"column": 16
},
"end": {
"line": 19,
"column": 21
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 571,
"end": 588,
"loc": {
"start": {
"line": 19,
"column": 22
},
"end": {
"line": 19,
"column": 39
},
"identifierName": "setObjectsVisible"
},
"name": "setObjectsVisible"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 589,
"end": 604,
"loc": {
"start": {
"line": 19,
"column": 40
},
"end": {
"line": 19,
"column": 55
}
},
"object": {
"type": "Identifier",
"start": 589,
"end": 594,
"loc": {
"start": {
"line": 19,
"column": 40
},
"end": {
"line": 19,
"column": 45
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 595,
"end": 604,
"loc": {
"start": {
"line": 19,
"column": 46
},
"end": {
"line": 19,
"column": 55
},
"identifierName": "objectIds"
},
"name": "objectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 606,
"end": 610,
"loc": {
"start": {
"line": 19,
"column": 57
},
"end": {
"line": 19,
"column": 61
}
},
"value": true
}
]
}
}
],
"directives": []
}
}
}
]
}
]
},
{
"type": "ArrayExpression",
"start": 648,
"end": 1146,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 37,
"column": 5
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 658,
"end": 1140,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 36,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 672,
"end": 693,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 33
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 672,
"end": 677,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 17
},
"identifierName": "title"
},
"name": "title"
},
"value": {
"type": "StringLiteral",
"start": 679,
"end": 693,
"loc": {
"start": {
"line": 25,
"column": 19
},
"end": {
"line": 25,
"column": 33
}
},
"extra": {
"rawValue": "View fit all",
"raw": "\"View fit all\""
},
"value": "View fit all"
}
},
{
"type": "ObjectProperty",
"start": 707,
"end": 1130,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 35,
"column": 13
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 707,
"end": 715,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 20
},
"identifierName": "callback"
},
"name": "callback"
},
"value": {
"type": "FunctionExpression",
"start": 717,
"end": 1130,
"loc": {
"start": {
"line": 26,
"column": 22
},
"end": {
"line": 35,
"column": 13
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 727,
"end": 734,
"loc": {
"start": {
"line": 26,
"column": 32
},
"end": {
"line": 26,
"column": 39
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 736,
"end": 1130,
"loc": {
"start": {
"line": 26,
"column": 41
},
"end": {
"line": 35,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 754,
"end": 784,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 46
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 760,
"end": 783,
"loc": {
"start": {
"line": 27,
"column": 22
},
"end": {
"line": 27,
"column": 45
}
},
"id": {
"type": "Identifier",
"start": 760,
"end": 766,
"loc": {
"start": {
"line": 27,
"column": 22
},
"end": {
"line": 27,
"column": 28
},
"identifierName": "viewer"
},
"name": "viewer"
},
"init": {
"type": "MemberExpression",
"start": 769,
"end": 783,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 769,
"end": 776,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 38
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 777,
"end": 783,
"loc": {
"start": {
"line": 27,
"column": 39
},
"end": {
"line": 27,
"column": 45
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 801,
"end": 828,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 43
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 807,
"end": 827,
"loc": {
"start": {
"line": 28,
"column": 22
},
"end": {
"line": 28,
"column": 42
}
},
"id": {
"type": "Identifier",
"start": 807,
"end": 812,
"loc": {
"start": {
"line": 28,
"column": 22
},
"end": {
"line": 28,
"column": 27
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 815,
"end": 827,
"loc": {
"start": {
"line": 28,
"column": 30
},
"end": {
"line": 28,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 815,
"end": 821,
"loc": {
"start": {
"line": 28,
"column": 30
},
"end": {
"line": 28,
"column": 36
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 822,
"end": 827,
"loc": {
"start": {
"line": 28,
"column": 37
},
"end": {
"line": 28,
"column": 42
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 845,
"end": 901,
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 72
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 851,
"end": 900,
"loc": {
"start": {
"line": 29,
"column": 22
},
"end": {
"line": 29,
"column": 71
}
},
"id": {
"type": "Identifier",
"start": 851,
"end": 860,
"loc": {
"start": {
"line": 29,
"column": 22
},
"end": {
"line": 29,
"column": 31
},
"identifierName": "sceneAABB"
},
"name": "sceneAABB"
},
"init": {
"type": "CallExpression",
"start": 863,
"end": 900,
"loc": {
"start": {
"line": 29,
"column": 34
},
"end": {
"line": 29,
"column": 71
}
},
"callee": {
"type": "MemberExpression",
"start": 863,
"end": 876,
"loc": {
"start": {
"line": 29,
"column": 34
},
"end": {
"line": 29,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 863,
"end": 868,
"loc": {
"start": {
"line": 29,
"column": 34
},
"end": {
"line": 29,
"column": 39
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 869,
"end": 876,
"loc": {
"start": {
"line": 29,
"column": 40
},
"end": {
"line": 29,
"column": 47
},
"identifierName": "getAABB"
},
"name": "getAABB"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 877,
"end": 899,
"loc": {
"start": {
"line": 29,
"column": 48
},
"end": {
"line": 29,
"column": 70
}
},
"object": {
"type": "Identifier",
"start": 877,
"end": 882,
"loc": {
"start": {
"line": 29,
"column": 48
},
"end": {
"line": 29,
"column": 53
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 883,
"end": 899,
"loc": {
"start": {
"line": 29,
"column": 54
},
"end": {
"line": 29,
"column": 70
},
"identifierName": "visibleObjectIds"
},
"name": "visibleObjectIds"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 918,
"end": 1036,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 33,
"column": 19
}
},
"expression": {
"type": "CallExpression",
"start": 918,
"end": 1035,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 33,
"column": 18
}
},
"callee": {
"type": "MemberExpression",
"start": 918,
"end": 943,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 918,
"end": 937,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 918,
"end": 924,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 22
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 925,
"end": 937,
"loc": {
"start": {
"line": 30,
"column": 23
},
"end": {
"line": 30,
"column": 35
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 938,
"end": 943,
"loc": {
"start": {
"line": 30,
"column": 36
},
"end": {
"line": 30,
"column": 41
},
"identifierName": "flyTo"
},
"name": "flyTo"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 944,
"end": 1034,
"loc": {
"start": {
"line": 30,
"column": 42
},
"end": {
"line": 33,
"column": 17
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 966,
"end": 981,
"loc": {
"start": {
"line": 31,
"column": 20
},
"end": {
"line": 31,
"column": 35
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 966,
"end": 970,
"loc": {
"start": {
"line": 31,
"column": 20
},
"end": {
"line": 31,
"column": 24
},
"identifierName": "aabb"
},
"name": "aabb"
},
"value": {
"type": "Identifier",
"start": 972,
"end": 981,
"loc": {
"start": {
"line": 31,
"column": 26
},
"end": {
"line": 31,
"column": 35
},
"identifierName": "sceneAABB"
},
"name": "sceneAABB"
}
},
{
"type": "ObjectProperty",
"start": 1003,
"end": 1016,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 33
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1003,
"end": 1011,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 28
},
"identifierName": "duration"
},
"name": "duration"
},
"value": {
"type": "NumericLiteral",
"start": 1013,
"end": 1016,
"loc": {
"start": {
"line": 32,
"column": 30
},
"end": {
"line": 32,
"column": 33
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
}
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1053,
"end": 1116,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 79
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1053,
"end": 1115,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 78
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1053,
"end": 1082,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1053,
"end": 1073,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 1053,
"end": 1059,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 22
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 1060,
"end": 1073,
"loc": {
"start": {
"line": 34,
"column": 23
},
"end": {
"line": 34,
"column": 36
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1074,
"end": 1082,
"loc": {
"start": {
"line": 34,
"column": 37
},
"end": {
"line": 34,
"column": 45
},
"identifierName": "pivotPos"
},
"name": "pivotPos"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1085,
"end": 1115,
"loc": {
"start": {
"line": 34,
"column": 48
},
"end": {
"line": 34,
"column": 78
}
},
"callee": {
"type": "MemberExpression",
"start": 1085,
"end": 1104,
"loc": {
"start": {
"line": 34,
"column": 48
},
"end": {
"line": 34,
"column": 67
}
},
"object": {
"type": "Identifier",
"start": 1085,
"end": 1089,
"loc": {
"start": {
"line": 34,
"column": 48
},
"end": {
"line": 34,
"column": 52
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 1090,
"end": 1104,
"loc": {
"start": {
"line": 34,
"column": 53
},
"end": {
"line": 34,
"column": 67
},
"identifierName": "getAABB3Center"
},
"name": "getAABB3Center"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1105,
"end": 1114,
"loc": {
"start": {
"line": 34,
"column": 68
},
"end": {
"line": 34,
"column": 77
},
"identifierName": "sceneAABB"
},
"name": "sceneAABB"
}
]
}
}
}
],
"directives": []
}
}
}
]
}
]
},
{
"type": "ArrayExpression",
"start": 1152,
"end": 1573,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 51,
"column": 5
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 1162,
"end": 1355,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 44,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1176,
"end": 1194,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 30
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1176,
"end": 1181,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 17
},
"identifierName": "title"
},
"name": "title"
},
"value": {
"type": "StringLiteral",
"start": 1183,
"end": 1194,
"loc": {
"start": {
"line": 40,
"column": 19
},
"end": {
"line": 40,
"column": 30
}
},
"extra": {
"rawValue": "X-ray all",
"raw": "\"X-ray all\""
},
"value": "X-ray all"
}
},
{
"type": "ObjectProperty",
"start": 1208,
"end": 1345,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 43,
"column": 13
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1208,
"end": 1216,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 20
},
"identifierName": "callback"
},
"name": "callback"
},
"value": {
"type": "FunctionExpression",
"start": 1218,
"end": 1345,
"loc": {
"start": {
"line": 41,
"column": 22
},
"end": {
"line": 43,
"column": 13
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1228,
"end": 1235,
"loc": {
"start": {
"line": 41,
"column": 32
},
"end": {
"line": 41,
"column": 39
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 1237,
"end": 1345,
"loc": {
"start": {
"line": 41,
"column": 41
},
"end": {
"line": 43,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1255,
"end": 1331,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 92
}
},
"expression": {
"type": "CallExpression",
"start": 1255,
"end": 1330,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 91
}
},
"callee": {
"type": "MemberExpression",
"start": 1255,
"end": 1292,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 1255,
"end": 1275,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 1255,
"end": 1269,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1255,
"end": 1262,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 23
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1263,
"end": 1269,
"loc": {
"start": {
"line": 42,
"column": 24
},
"end": {
"line": 42,
"column": 30
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1270,
"end": 1275,
"loc": {
"start": {
"line": 42,
"column": 31
},
"end": {
"line": 42,
"column": 36
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1276,
"end": 1292,
"loc": {
"start": {
"line": 42,
"column": 37
},
"end": {
"line": 42,
"column": 53
},
"identifierName": "setObjectsXRayed"
},
"name": "setObjectsXRayed"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1293,
"end": 1323,
"loc": {
"start": {
"line": 42,
"column": 54
},
"end": {
"line": 42,
"column": 84
}
},
"object": {
"type": "MemberExpression",
"start": 1293,
"end": 1313,
"loc": {
"start": {
"line": 42,
"column": 54
},
"end": {
"line": 42,
"column": 74
}
},
"object": {
"type": "MemberExpression",
"start": 1293,
"end": 1307,
"loc": {
"start": {
"line": 42,
"column": 54
},
"end": {
"line": 42,
"column": 68
}
},
"object": {
"type": "Identifier",
"start": 1293,
"end": 1300,
"loc": {
"start": {
"line": 42,
"column": 54
},
"end": {
"line": 42,
"column": 61
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1301,
"end": 1307,
"loc": {
"start": {
"line": 42,
"column": 62
},
"end": {
"line": 42,
"column": 68
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1308,
"end": 1313,
"loc": {
"start": {
"line": 42,
"column": 69
},
"end": {
"line": 42,
"column": 74
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1314,
"end": 1323,
"loc": {
"start": {
"line": 42,
"column": 75
},
"end": {
"line": 42,
"column": 84
},
"identifierName": "objectIds"
},
"name": "objectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 1325,
"end": 1329,
"loc": {
"start": {
"line": 42,
"column": 86
},
"end": {
"line": 42,
"column": 90
}
},
"value": true
}
]
}
}
],
"directives": []
}
}
}
]
},
{
"type": "ObjectExpression",
"start": 1365,
"end": 1567,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 50,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1379,
"end": 1399,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 32
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1379,
"end": 1384,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 17
},
"identifierName": "title"
},
"name": "title"
},
"value": {
"type": "StringLiteral",
"start": 1386,
"end": 1399,
"loc": {
"start": {
"line": 46,
"column": 19
},
"end": {
"line": 46,
"column": 32
}
},
"extra": {
"rawValue": "X-Ray None",
"raw": "\"X-Ray None\""
},
"value": "X-Ray None"
}
},
{
"type": "ObjectProperty",
"start": 1413,
"end": 1557,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 49,
"column": 13
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1413,
"end": 1421,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 20
},
"identifierName": "callback"
},
"name": "callback"
},
"value": {
"type": "FunctionExpression",
"start": 1423,
"end": 1557,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 49,
"column": 13
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1433,
"end": 1440,
"loc": {
"start": {
"line": 47,
"column": 32
},
"end": {
"line": 47,
"column": 39
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 1442,
"end": 1557,
"loc": {
"start": {
"line": 47,
"column": 41
},
"end": {
"line": 49,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1460,
"end": 1543,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 99
}
},
"expression": {
"type": "CallExpression",
"start": 1460,
"end": 1542,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 98
}
},
"callee": {
"type": "MemberExpression",
"start": 1460,
"end": 1497,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 1460,
"end": 1480,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 1460,
"end": 1474,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1460,
"end": 1467,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 23
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1468,
"end": 1474,
"loc": {
"start": {
"line": 48,
"column": 24
},
"end": {
"line": 48,
"column": 30
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1475,
"end": 1480,
"loc": {
"start": {
"line": 48,
"column": 31
},
"end": {
"line": 48,
"column": 36
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1481,
"end": 1497,
"loc": {
"start": {
"line": 48,
"column": 37
},
"end": {
"line": 48,
"column": 53
},
"identifierName": "setObjectsXRayed"
},
"name": "setObjectsXRayed"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1498,
"end": 1534,
"loc": {
"start": {
"line": 48,
"column": 54
},
"end": {
"line": 48,
"column": 90
}
},
"object": {
"type": "MemberExpression",
"start": 1498,
"end": 1518,
"loc": {
"start": {
"line": 48,
"column": 54
},
"end": {
"line": 48,
"column": 74
}
},
"object": {
"type": "MemberExpression",
"start": 1498,
"end": 1512,
"loc": {
"start": {
"line": 48,
"column": 54
},
"end": {
"line": 48,
"column": 68
}
},
"object": {
"type": "Identifier",
"start": 1498,
"end": 1505,
"loc": {
"start": {
"line": 48,
"column": 54
},
"end": {
"line": 48,
"column": 61
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1506,
"end": 1512,
"loc": {
"start": {
"line": 48,
"column": 62
},
"end": {
"line": 48,
"column": 68
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1513,
"end": 1518,
"loc": {
"start": {
"line": 48,
"column": 69
},
"end": {
"line": 48,
"column": 74
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1519,
"end": 1534,
"loc": {
"start": {
"line": 48,
"column": 75
},
"end": {
"line": 48,
"column": 90
},
"identifierName": "xrayedObjectIds"
},
"name": "xrayedObjectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 1536,
"end": 1541,
"loc": {
"start": {
"line": 48,
"column": 92
},
"end": {
"line": 48,
"column": 97
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
}
]
}
]
},
{
"type": "ArrayExpression",
"start": 1579,
"end": 1805,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 59,
"column": 5
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 1589,
"end": 1799,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 58,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1603,
"end": 1627,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 36
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1603,
"end": 1608,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 17
},
"identifierName": "title"
},
"name": "title"
},
"value": {
"type": "StringLiteral",
"start": 1610,
"end": 1627,
"loc": {
"start": {
"line": 54,
"column": 19
},
"end": {
"line": 54,
"column": 36
}
},
"extra": {
"rawValue": "Reset selection",
"raw": "\"Reset selection\""
},
"value": "Reset selection"
}
},
{
"type": "ObjectProperty",
"start": 1641,
"end": 1789,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 57,
"column": 13
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1641,
"end": 1649,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 20
},
"identifierName": "callback"
},
"name": "callback"
},
"value": {
"type": "FunctionExpression",
"start": 1651,
"end": 1789,
"loc": {
"start": {
"line": 55,
"column": 22
},
"end": {
"line": 57,
"column": 13
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1661,
"end": 1668,
"loc": {
"start": {
"line": 55,
"column": 32
},
"end": {
"line": 55,
"column": 39
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 1670,
"end": 1789,
"loc": {
"start": {
"line": 55,
"column": 41
},
"end": {
"line": 57,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1688,
"end": 1775,
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 103
}
},
"expression": {
"type": "CallExpression",
"start": 1688,
"end": 1774,
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 102
}
},
"callee": {
"type": "MemberExpression",
"start": 1688,
"end": 1727,
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 1688,
"end": 1708,
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 1688,
"end": 1702,
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1688,
"end": 1695,
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 23
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1696,
"end": 1702,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 56,
"column": 30
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1703,
"end": 1708,
"loc": {
"start": {
"line": 56,
"column": 31
},
"end": {
"line": 56,
"column": 36
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1709,
"end": 1727,
"loc": {
"start": {
"line": 56,
"column": 37
},
"end": {
"line": 56,
"column": 55
},
"identifierName": "setObjectsSelected"
},
"name": "setObjectsSelected"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1728,
"end": 1766,
"loc": {
"start": {
"line": 56,
"column": 56
},
"end": {
"line": 56,
"column": 94
}
},
"object": {
"type": "MemberExpression",
"start": 1728,
"end": 1748,
"loc": {
"start": {
"line": 56,
"column": 56
},
"end": {
"line": 56,
"column": 76
}
},
"object": {
"type": "MemberExpression",
"start": 1728,
"end": 1742,
"loc": {
"start": {
"line": 56,
"column": 56
},
"end": {
"line": 56,
"column": 70
}
},
"object": {
"type": "Identifier",
"start": 1728,
"end": 1735,
"loc": {
"start": {
"line": 56,
"column": 56
},
"end": {
"line": 56,
"column": 63
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1736,
"end": 1742,
"loc": {
"start": {
"line": 56,
"column": 64
},
"end": {
"line": 56,
"column": 70
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1743,
"end": 1748,
"loc": {
"start": {
"line": 56,
"column": 71
},
"end": {
"line": 56,
"column": 76
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1749,
"end": 1766,
"loc": {
"start": {
"line": 56,
"column": 77
},
"end": {
"line": 56,
"column": 94
},
"identifierName": "selectedObjectIds"
},
"name": "selectedObjectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 1768,
"end": 1773,
"loc": {
"start": {
"line": 56,
"column": 96
},
"end": {
"line": 56,
"column": 101
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
}
]
}
]
},
{
"type": "ArrayExpression",
"start": 1811,
"end": 1975,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 67,
"column": 5
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 1821,
"end": 1969,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 66,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1835,
"end": 1854,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 31
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1835,
"end": 1840,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 17
},
"identifierName": "title"
},
"name": "title"
},
"value": {
"type": "StringLiteral",
"start": 1842,
"end": 1854,
"loc": {
"start": {
"line": 62,
"column": 19
},
"end": {
"line": 62,
"column": 31
}
},
"extra": {
"rawValue": "Reset view",
"raw": "\"Reset view\""
},
"value": "Reset view"
}
},
{
"type": "ObjectProperty",
"start": 1868,
"end": 1959,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 65,
"column": 13
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1868,
"end": 1876,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 20
},
"identifierName": "callback"
},
"name": "callback"
},
"value": {
"type": "FunctionExpression",
"start": 1878,
"end": 1959,
"loc": {
"start": {
"line": 63,
"column": 22
},
"end": {
"line": 65,
"column": 13
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1888,
"end": 1895,
"loc": {
"start": {
"line": 63,
"column": 32
},
"end": {
"line": 63,
"column": 39
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 1897,
"end": 1959,
"loc": {
"start": {
"line": 63,
"column": 41
},
"end": {
"line": 65,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1915,
"end": 1945,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 46
}
},
"expression": {
"type": "CallExpression",
"start": 1915,
"end": 1944,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 45
}
},
"callee": {
"type": "MemberExpression",
"start": 1915,
"end": 1942,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 1915,
"end": 1932,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 1915,
"end": 1922,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 23
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1923,
"end": 1932,
"loc": {
"start": {
"line": 64,
"column": 24
},
"end": {
"line": 64,
"column": 33
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1933,
"end": 1942,
"loc": {
"start": {
"line": 64,
"column": 34
},
"end": {
"line": 64,
"column": 43
},
"identifierName": "resetView"
},
"name": "resetView"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
}
]
}
]
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [],
"name": "_",
"trailingComments": []
},
{
"type": "ExportNamedDeclaration",
"start": 1980,
"end": 2012,
"loc": {
"start": {
"line": 70,
"column": 0
},
"end": {
"line": 70,
"column": 32
}
},
"declaration": null,
"specifiers": [
{
"type": "ExportSpecifier",
"start": 1988,
"end": 2010,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 30
}
},
"local": {
"type": "Identifier",
"start": 1988,
"end": 2010,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 30
},
"identifierName": "CanvasContextMenuItems"
},
"name": "CanvasContextMenuItems"
},
"exported": {
"type": "Identifier",
"start": 1988,
"end": 2010,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 30
},
"identifierName": "CanvasContextMenuItems"
},
"name": "CanvasContextMenuItems"
}
}
],
"source": null
},
{
"type": "ExportNamedDeclaration",
"start": 1980,
"end": 2012,
"loc": {
"start": {
"line": 70,
"column": 0
},
"end": {
"line": 70,
"column": 32
}
},
"declaration": {
"type": "VariableDeclaration",
"start": 163,
"end": 1978,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 68,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 169,
"end": 1977,
"loc": {
"start": {
"line": 7,
"column": 6
},
"end": {
"line": 68,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 169,
"end": 191,
"loc": {
"start": {
"line": 7,
"column": 6
},
"end": {
"line": 7,
"column": 28
},
"identifierName": "CanvasContextMenuItems"
},
"name": "CanvasContextMenuItems",
"leadingComments": null
},
"init": {
"type": "ArrayExpression",
"start": 194,
"end": 1977,
"loc": {
"start": {
"line": 7,
"column": 31
},
"end": {
"line": 68,
"column": 1
}
},
"elements": [
{
"type": "ArrayExpression",
"start": 200,
"end": 642,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 22,
"column": 5
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 210,
"end": 411,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 14,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 224,
"end": 241,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 29
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 224,
"end": 229,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 17
},
"identifierName": "title"
},
"name": "title"
},
"value": {
"type": "StringLiteral",
"start": 231,
"end": 241,
"loc": {
"start": {
"line": 10,
"column": 19
},
"end": {
"line": 10,
"column": 29
}
},
"extra": {
"rawValue": "Hide all",
"raw": "\"Hide all\""
},
"value": "Hide all"
}
},
{
"type": "ObjectProperty",
"start": 255,
"end": 401,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 13,
"column": 13
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 255,
"end": 263,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 20
},
"identifierName": "callback"
},
"name": "callback"
},
"value": {
"type": "FunctionExpression",
"start": 265,
"end": 401,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 13,
"column": 13
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 275,
"end": 282,
"loc": {
"start": {
"line": 11,
"column": 32
},
"end": {
"line": 11,
"column": 39
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 284,
"end": 401,
"loc": {
"start": {
"line": 11,
"column": 41
},
"end": {
"line": 13,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 302,
"end": 387,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 101
}
},
"expression": {
"type": "CallExpression",
"start": 302,
"end": 386,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 100
}
},
"callee": {
"type": "MemberExpression",
"start": 302,
"end": 340,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 302,
"end": 322,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 302,
"end": 316,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 302,
"end": 309,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 23
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 310,
"end": 316,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 30
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 317,
"end": 322,
"loc": {
"start": {
"line": 12,
"column": 31
},
"end": {
"line": 12,
"column": 36
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 323,
"end": 340,
"loc": {
"start": {
"line": 12,
"column": 37
},
"end": {
"line": 12,
"column": 54
},
"identifierName": "setObjectsVisible"
},
"name": "setObjectsVisible"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 341,
"end": 378,
"loc": {
"start": {
"line": 12,
"column": 55
},
"end": {
"line": 12,
"column": 92
}
},
"object": {
"type": "MemberExpression",
"start": 341,
"end": 361,
"loc": {
"start": {
"line": 12,
"column": 55
},
"end": {
"line": 12,
"column": 75
}
},
"object": {
"type": "MemberExpression",
"start": 341,
"end": 355,
"loc": {
"start": {
"line": 12,
"column": 55
},
"end": {
"line": 12,
"column": 69
}
},
"object": {
"type": "Identifier",
"start": 341,
"end": 348,
"loc": {
"start": {
"line": 12,
"column": 55
},
"end": {
"line": 12,
"column": 62
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 349,
"end": 355,
"loc": {
"start": {
"line": 12,
"column": 63
},
"end": {
"line": 12,
"column": 69
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 356,
"end": 361,
"loc": {
"start": {
"line": 12,
"column": 70
},
"end": {
"line": 12,
"column": 75
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 362,
"end": 378,
"loc": {
"start": {
"line": 12,
"column": 76
},
"end": {
"line": 12,
"column": 92
},
"identifierName": "visibleObjectIds"
},
"name": "visibleObjectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 380,
"end": 385,
"loc": {
"start": {
"line": 12,
"column": 94
},
"end": {
"line": 12,
"column": 99
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
}
]
},
{
"type": "ObjectExpression",
"start": 421,
"end": 636,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 21,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 435,
"end": 452,
"loc": {
"start": {
"line": 16,
"column": 12
},
"end": {
"line": 16,
"column": 29
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 435,
"end": 440,
"loc": {
"start": {
"line": 16,
"column": 12
},
"end": {
"line": 16,
"column": 17
},
"identifierName": "title"
},
"name": "title"
},
"value": {
"type": "StringLiteral",
"start": 442,
"end": 452,
"loc": {
"start": {
"line": 16,
"column": 19
},
"end": {
"line": 16,
"column": 29
}
},
"extra": {
"rawValue": "Show all",
"raw": "\"Show all\""
},
"value": "Show all"
}
},
{
"type": "ObjectProperty",
"start": 466,
"end": 626,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 20,
"column": 13
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 466,
"end": 474,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 20
},
"identifierName": "callback"
},
"name": "callback"
},
"value": {
"type": "FunctionExpression",
"start": 476,
"end": 626,
"loc": {
"start": {
"line": 17,
"column": 22
},
"end": {
"line": 20,
"column": 13
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 486,
"end": 493,
"loc": {
"start": {
"line": 17,
"column": 32
},
"end": {
"line": 17,
"column": 39
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 495,
"end": 626,
"loc": {
"start": {
"line": 17,
"column": 41
},
"end": {
"line": 20,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 513,
"end": 548,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 519,
"end": 547,
"loc": {
"start": {
"line": 18,
"column": 22
},
"end": {
"line": 18,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 519,
"end": 524,
"loc": {
"start": {
"line": 18,
"column": 22
},
"end": {
"line": 18,
"column": 27
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 527,
"end": 547,
"loc": {
"start": {
"line": 18,
"column": 30
},
"end": {
"line": 18,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 527,
"end": 541,
"loc": {
"start": {
"line": 18,
"column": 30
},
"end": {
"line": 18,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 527,
"end": 534,
"loc": {
"start": {
"line": 18,
"column": 30
},
"end": {
"line": 18,
"column": 37
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 535,
"end": 541,
"loc": {
"start": {
"line": 18,
"column": 38
},
"end": {
"line": 18,
"column": 44
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 542,
"end": 547,
"loc": {
"start": {
"line": 18,
"column": 45
},
"end": {
"line": 18,
"column": 50
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 565,
"end": 612,
"loc": {
"start": {
"line": 19,
"column": 16
},
"end": {
"line": 19,
"column": 63
}
},
"expression": {
"type": "CallExpression",
"start": 565,
"end": 611,
"loc": {
"start": {
"line": 19,
"column": 16
},
"end": {
"line": 19,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
"start": 565,
"end": 588,
"loc": {
"start": {
"line": 19,
"column": 16
},
"end": {
"line": 19,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 565,
"end": 570,
"loc": {
"start": {
"line": 19,
"column": 16
},
"end": {
"line": 19,
"column": 21
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 571,
"end": 588,
"loc": {
"start": {
"line": 19,
"column": 22
},
"end": {
"line": 19,
"column": 39
},
"identifierName": "setObjectsVisible"
},
"name": "setObjectsVisible"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 589,
"end": 604,
"loc": {
"start": {
"line": 19,
"column": 40
},
"end": {
"line": 19,
"column": 55
}
},
"object": {
"type": "Identifier",
"start": 589,
"end": 594,
"loc": {
"start": {
"line": 19,
"column": 40
},
"end": {
"line": 19,
"column": 45
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 595,
"end": 604,
"loc": {
"start": {
"line": 19,
"column": 46
},
"end": {
"line": 19,
"column": 55
},
"identifierName": "objectIds"
},
"name": "objectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 606,
"end": 610,
"loc": {
"start": {
"line": 19,
"column": 57
},
"end": {
"line": 19,
"column": 61
}
},
"value": true
}
]
}
}
],
"directives": []
}
}
}
]
}
]
},
{
"type": "ArrayExpression",
"start": 648,
"end": 1146,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 37,
"column": 5
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 658,
"end": 1140,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 36,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 672,
"end": 693,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 33
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 672,
"end": 677,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 17
},
"identifierName": "title"
},
"name": "title"
},
"value": {
"type": "StringLiteral",
"start": 679,
"end": 693,
"loc": {
"start": {
"line": 25,
"column": 19
},
"end": {
"line": 25,
"column": 33
}
},
"extra": {
"rawValue": "View fit all",
"raw": "\"View fit all\""
},
"value": "View fit all"
}
},
{
"type": "ObjectProperty",
"start": 707,
"end": 1130,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 35,
"column": 13
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 707,
"end": 715,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 20
},
"identifierName": "callback"
},
"name": "callback"
},
"value": {
"type": "FunctionExpression",
"start": 717,
"end": 1130,
"loc": {
"start": {
"line": 26,
"column": 22
},
"end": {
"line": 35,
"column": 13
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 727,
"end": 734,
"loc": {
"start": {
"line": 26,
"column": 32
},
"end": {
"line": 26,
"column": 39
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 736,
"end": 1130,
"loc": {
"start": {
"line": 26,
"column": 41
},
"end": {
"line": 35,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 754,
"end": 784,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 46
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 760,
"end": 783,
"loc": {
"start": {
"line": 27,
"column": 22
},
"end": {
"line": 27,
"column": 45
}
},
"id": {
"type": "Identifier",
"start": 760,
"end": 766,
"loc": {
"start": {
"line": 27,
"column": 22
},
"end": {
"line": 27,
"column": 28
},
"identifierName": "viewer"
},
"name": "viewer"
},
"init": {
"type": "MemberExpression",
"start": 769,
"end": 783,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 769,
"end": 776,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 38
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 777,
"end": 783,
"loc": {
"start": {
"line": 27,
"column": 39
},
"end": {
"line": 27,
"column": 45
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 801,
"end": 828,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 43
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 807,
"end": 827,
"loc": {
"start": {
"line": 28,
"column": 22
},
"end": {
"line": 28,
"column": 42
}
},
"id": {
"type": "Identifier",
"start": 807,
"end": 812,
"loc": {
"start": {
"line": 28,
"column": 22
},
"end": {
"line": 28,
"column": 27
},
"identifierName": "scene"
},
"name": "scene"
},
"init": {
"type": "MemberExpression",
"start": 815,
"end": 827,
"loc": {
"start": {
"line": 28,
"column": 30
},
"end": {
"line": 28,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 815,
"end": 821,
"loc": {
"start": {
"line": 28,
"column": 30
},
"end": {
"line": 28,
"column": 36
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 822,
"end": 827,
"loc": {
"start": {
"line": 28,
"column": 37
},
"end": {
"line": 28,
"column": 42
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 845,
"end": 901,
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 72
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 851,
"end": 900,
"loc": {
"start": {
"line": 29,
"column": 22
},
"end": {
"line": 29,
"column": 71
}
},
"id": {
"type": "Identifier",
"start": 851,
"end": 860,
"loc": {
"start": {
"line": 29,
"column": 22
},
"end": {
"line": 29,
"column": 31
},
"identifierName": "sceneAABB"
},
"name": "sceneAABB"
},
"init": {
"type": "CallExpression",
"start": 863,
"end": 900,
"loc": {
"start": {
"line": 29,
"column": 34
},
"end": {
"line": 29,
"column": 71
}
},
"callee": {
"type": "MemberExpression",
"start": 863,
"end": 876,
"loc": {
"start": {
"line": 29,
"column": 34
},
"end": {
"line": 29,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 863,
"end": 868,
"loc": {
"start": {
"line": 29,
"column": 34
},
"end": {
"line": 29,
"column": 39
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 869,
"end": 876,
"loc": {
"start": {
"line": 29,
"column": 40
},
"end": {
"line": 29,
"column": 47
},
"identifierName": "getAABB"
},
"name": "getAABB"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 877,
"end": 899,
"loc": {
"start": {
"line": 29,
"column": 48
},
"end": {
"line": 29,
"column": 70
}
},
"object": {
"type": "Identifier",
"start": 877,
"end": 882,
"loc": {
"start": {
"line": 29,
"column": 48
},
"end": {
"line": 29,
"column": 53
},
"identifierName": "scene"
},
"name": "scene"
},
"property": {
"type": "Identifier",
"start": 883,
"end": 899,
"loc": {
"start": {
"line": 29,
"column": 54
},
"end": {
"line": 29,
"column": 70
},
"identifierName": "visibleObjectIds"
},
"name": "visibleObjectIds"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 918,
"end": 1036,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 33,
"column": 19
}
},
"expression": {
"type": "CallExpression",
"start": 918,
"end": 1035,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 33,
"column": 18
}
},
"callee": {
"type": "MemberExpression",
"start": 918,
"end": 943,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 918,
"end": 937,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 918,
"end": 924,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 22
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 925,
"end": 937,
"loc": {
"start": {
"line": 30,
"column": 23
},
"end": {
"line": 30,
"column": 35
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 938,
"end": 943,
"loc": {
"start": {
"line": 30,
"column": 36
},
"end": {
"line": 30,
"column": 41
},
"identifierName": "flyTo"
},
"name": "flyTo"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 944,
"end": 1034,
"loc": {
"start": {
"line": 30,
"column": 42
},
"end": {
"line": 33,
"column": 17
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 966,
"end": 981,
"loc": {
"start": {
"line": 31,
"column": 20
},
"end": {
"line": 31,
"column": 35
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 966,
"end": 970,
"loc": {
"start": {
"line": 31,
"column": 20
},
"end": {
"line": 31,
"column": 24
},
"identifierName": "aabb"
},
"name": "aabb"
},
"value": {
"type": "Identifier",
"start": 972,
"end": 981,
"loc": {
"start": {
"line": 31,
"column": 26
},
"end": {
"line": 31,
"column": 35
},
"identifierName": "sceneAABB"
},
"name": "sceneAABB"
}
},
{
"type": "ObjectProperty",
"start": 1003,
"end": 1016,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 33
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1003,
"end": 1011,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 28
},
"identifierName": "duration"
},
"name": "duration"
},
"value": {
"type": "NumericLiteral",
"start": 1013,
"end": 1016,
"loc": {
"start": {
"line": 32,
"column": 30
},
"end": {
"line": 32,
"column": 33
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
}
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1053,
"end": 1116,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 79
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1053,
"end": 1115,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 78
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1053,
"end": 1082,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1053,
"end": 1073,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 1053,
"end": 1059,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 22
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 1060,
"end": 1073,
"loc": {
"start": {
"line": 34,
"column": 23
},
"end": {
"line": 34,
"column": 36
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1074,
"end": 1082,
"loc": {
"start": {
"line": 34,
"column": 37
},
"end": {
"line": 34,
"column": 45
},
"identifierName": "pivotPos"
},
"name": "pivotPos"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1085,
"end": 1115,
"loc": {
"start": {
"line": 34,
"column": 48
},
"end": {
"line": 34,
"column": 78
}
},
"callee": {
"type": "MemberExpression",
"start": 1085,
"end": 1104,
"loc": {
"start": {
"line": 34,
"column": 48
},
"end": {
"line": 34,
"column": 67
}
},
"object": {
"type": "Identifier",
"start": 1085,
"end": 1089,
"loc": {
"start": {
"line": 34,
"column": 48
},
"end": {
"line": 34,
"column": 52
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 1090,
"end": 1104,
"loc": {
"start": {
"line": 34,
"column": 53
},
"end": {
"line": 34,
"column": 67
},
"identifierName": "getAABB3Center"
},
"name": "getAABB3Center"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1105,
"end": 1114,
"loc": {
"start": {
"line": 34,
"column": 68
},
"end": {
"line": 34,
"column": 77
},
"identifierName": "sceneAABB"
},
"name": "sceneAABB"
}
]
}
}
}
],
"directives": []
}
}
}
]
}
]
},
{
"type": "ArrayExpression",
"start": 1152,
"end": 1573,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 51,
"column": 5
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 1162,
"end": 1355,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 44,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1176,
"end": 1194,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 30
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1176,
"end": 1181,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 17
},
"identifierName": "title"
},
"name": "title"
},
"value": {
"type": "StringLiteral",
"start": 1183,
"end": 1194,
"loc": {
"start": {
"line": 40,
"column": 19
},
"end": {
"line": 40,
"column": 30
}
},
"extra": {
"rawValue": "X-ray all",
"raw": "\"X-ray all\""
},
"value": "X-ray all"
}
},
{
"type": "ObjectProperty",
"start": 1208,
"end": 1345,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 43,
"column": 13
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1208,
"end": 1216,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 20
},
"identifierName": "callback"
},
"name": "callback"
},
"value": {
"type": "FunctionExpression",
"start": 1218,
"end": 1345,
"loc": {
"start": {
"line": 41,
"column": 22
},
"end": {
"line": 43,
"column": 13
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1228,
"end": 1235,
"loc": {
"start": {
"line": 41,
"column": 32
},
"end": {
"line": 41,
"column": 39
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 1237,
"end": 1345,
"loc": {
"start": {
"line": 41,
"column": 41
},
"end": {
"line": 43,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1255,
"end": 1331,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 92
}
},
"expression": {
"type": "CallExpression",
"start": 1255,
"end": 1330,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 91
}
},
"callee": {
"type": "MemberExpression",
"start": 1255,
"end": 1292,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 1255,
"end": 1275,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 1255,
"end": 1269,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1255,
"end": 1262,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 23
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1263,
"end": 1269,
"loc": {
"start": {
"line": 42,
"column": 24
},
"end": {
"line": 42,
"column": 30
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1270,
"end": 1275,
"loc": {
"start": {
"line": 42,
"column": 31
},
"end": {
"line": 42,
"column": 36
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1276,
"end": 1292,
"loc": {
"start": {
"line": 42,
"column": 37
},
"end": {
"line": 42,
"column": 53
},
"identifierName": "setObjectsXRayed"
},
"name": "setObjectsXRayed"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1293,
"end": 1323,
"loc": {
"start": {
"line": 42,
"column": 54
},
"end": {
"line": 42,
"column": 84
}
},
"object": {
"type": "MemberExpression",
"start": 1293,
"end": 1313,
"loc": {
"start": {
"line": 42,
"column": 54
},
"end": {
"line": 42,
"column": 74
}
},
"object": {
"type": "MemberExpression",
"start": 1293,
"end": 1307,
"loc": {
"start": {
"line": 42,
"column": 54
},
"end": {
"line": 42,
"column": 68
}
},
"object": {
"type": "Identifier",
"start": 1293,
"end": 1300,
"loc": {
"start": {
"line": 42,
"column": 54
},
"end": {
"line": 42,
"column": 61
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1301,
"end": 1307,
"loc": {
"start": {
"line": 42,
"column": 62
},
"end": {
"line": 42,
"column": 68
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1308,
"end": 1313,
"loc": {
"start": {
"line": 42,
"column": 69
},
"end": {
"line": 42,
"column": 74
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1314,
"end": 1323,
"loc": {
"start": {
"line": 42,
"column": 75
},
"end": {
"line": 42,
"column": 84
},
"identifierName": "objectIds"
},
"name": "objectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 1325,
"end": 1329,
"loc": {
"start": {
"line": 42,
"column": 86
},
"end": {
"line": 42,
"column": 90
}
},
"value": true
}
]
}
}
],
"directives": []
}
}
}
]
},
{
"type": "ObjectExpression",
"start": 1365,
"end": 1567,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 50,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1379,
"end": 1399,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 32
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1379,
"end": 1384,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 17
},
"identifierName": "title"
},
"name": "title"
},
"value": {
"type": "StringLiteral",
"start": 1386,
"end": 1399,
"loc": {
"start": {
"line": 46,
"column": 19
},
"end": {
"line": 46,
"column": 32
}
},
"extra": {
"rawValue": "X-Ray None",
"raw": "\"X-Ray None\""
},
"value": "X-Ray None"
}
},
{
"type": "ObjectProperty",
"start": 1413,
"end": 1557,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 49,
"column": 13
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1413,
"end": 1421,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 20
},
"identifierName": "callback"
},
"name": "callback"
},
"value": {
"type": "FunctionExpression",
"start": 1423,
"end": 1557,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 49,
"column": 13
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1433,
"end": 1440,
"loc": {
"start": {
"line": 47,
"column": 32
},
"end": {
"line": 47,
"column": 39
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 1442,
"end": 1557,
"loc": {
"start": {
"line": 47,
"column": 41
},
"end": {
"line": 49,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1460,
"end": 1543,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 99
}
},
"expression": {
"type": "CallExpression",
"start": 1460,
"end": 1542,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 98
}
},
"callee": {
"type": "MemberExpression",
"start": 1460,
"end": 1497,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 1460,
"end": 1480,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 1460,
"end": 1474,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1460,
"end": 1467,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 23
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1468,
"end": 1474,
"loc": {
"start": {
"line": 48,
"column": 24
},
"end": {
"line": 48,
"column": 30
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1475,
"end": 1480,
"loc": {
"start": {
"line": 48,
"column": 31
},
"end": {
"line": 48,
"column": 36
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1481,
"end": 1497,
"loc": {
"start": {
"line": 48,
"column": 37
},
"end": {
"line": 48,
"column": 53
},
"identifierName": "setObjectsXRayed"
},
"name": "setObjectsXRayed"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1498,
"end": 1534,
"loc": {
"start": {
"line": 48,
"column": 54
},
"end": {
"line": 48,
"column": 90
}
},
"object": {
"type": "MemberExpression",
"start": 1498,
"end": 1518,
"loc": {
"start": {
"line": 48,
"column": 54
},
"end": {
"line": 48,
"column": 74
}
},
"object": {
"type": "MemberExpression",
"start": 1498,
"end": 1512,
"loc": {
"start": {
"line": 48,
"column": 54
},
"end": {
"line": 48,
"column": 68
}
},
"object": {
"type": "Identifier",
"start": 1498,
"end": 1505,
"loc": {
"start": {
"line": 48,
"column": 54
},
"end": {
"line": 48,
"column": 61
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1506,
"end": 1512,
"loc": {
"start": {
"line": 48,
"column": 62
},
"end": {
"line": 48,
"column": 68
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1513,
"end": 1518,
"loc": {
"start": {
"line": 48,
"column": 69
},
"end": {
"line": 48,
"column": 74
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1519,
"end": 1534,
"loc": {
"start": {
"line": 48,
"column": 75
},
"end": {
"line": 48,
"column": 90
},
"identifierName": "xrayedObjectIds"
},
"name": "xrayedObjectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 1536,
"end": 1541,
"loc": {
"start": {
"line": 48,
"column": 92
},
"end": {
"line": 48,
"column": 97
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
}
]
}
]
},
{
"type": "ArrayExpression",
"start": 1579,
"end": 1805,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 59,
"column": 5
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 1589,
"end": 1799,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 58,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1603,
"end": 1627,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 36
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1603,
"end": 1608,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 17
},
"identifierName": "title"
},
"name": "title"
},
"value": {
"type": "StringLiteral",
"start": 1610,
"end": 1627,
"loc": {
"start": {
"line": 54,
"column": 19
},
"end": {
"line": 54,
"column": 36
}
},
"extra": {
"rawValue": "Reset selection",
"raw": "\"Reset selection\""
},
"value": "Reset selection"
}
},
{
"type": "ObjectProperty",
"start": 1641,
"end": 1789,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 57,
"column": 13
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1641,
"end": 1649,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 20
},
"identifierName": "callback"
},
"name": "callback"
},
"value": {
"type": "FunctionExpression",
"start": 1651,
"end": 1789,
"loc": {
"start": {
"line": 55,
"column": 22
},
"end": {
"line": 57,
"column": 13
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1661,
"end": 1668,
"loc": {
"start": {
"line": 55,
"column": 32
},
"end": {
"line": 55,
"column": 39
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 1670,
"end": 1789,
"loc": {
"start": {
"line": 55,
"column": 41
},
"end": {
"line": 57,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1688,
"end": 1775,
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 103
}
},
"expression": {
"type": "CallExpression",
"start": 1688,
"end": 1774,
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 102
}
},
"callee": {
"type": "MemberExpression",
"start": 1688,
"end": 1727,
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 1688,
"end": 1708,
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 1688,
"end": 1702,
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1688,
"end": 1695,
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 23
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1696,
"end": 1702,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 56,
"column": 30
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1703,
"end": 1708,
"loc": {
"start": {
"line": 56,
"column": 31
},
"end": {
"line": 56,
"column": 36
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1709,
"end": 1727,
"loc": {
"start": {
"line": 56,
"column": 37
},
"end": {
"line": 56,
"column": 55
},
"identifierName": "setObjectsSelected"
},
"name": "setObjectsSelected"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1728,
"end": 1766,
"loc": {
"start": {
"line": 56,
"column": 56
},
"end": {
"line": 56,
"column": 94
}
},
"object": {
"type": "MemberExpression",
"start": 1728,
"end": 1748,
"loc": {
"start": {
"line": 56,
"column": 56
},
"end": {
"line": 56,
"column": 76
}
},
"object": {
"type": "MemberExpression",
"start": 1728,
"end": 1742,
"loc": {
"start": {
"line": 56,
"column": 56
},
"end": {
"line": 56,
"column": 70
}
},
"object": {
"type": "Identifier",
"start": 1728,
"end": 1735,
"loc": {
"start": {
"line": 56,
"column": 56
},
"end": {
"line": 56,
"column": 63
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1736,
"end": 1742,
"loc": {
"start": {
"line": 56,
"column": 64
},
"end": {
"line": 56,
"column": 70
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1743,
"end": 1748,
"loc": {
"start": {
"line": 56,
"column": 71
},
"end": {
"line": 56,
"column": 76
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1749,
"end": 1766,
"loc": {
"start": {
"line": 56,
"column": 77
},
"end": {
"line": 56,
"column": 94
},
"identifierName": "selectedObjectIds"
},
"name": "selectedObjectIds"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 1768,
"end": 1773,
"loc": {
"start": {
"line": 56,
"column": 96
},
"end": {
"line": 56,
"column": 101
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
}
]
}
]
},
{
"type": "ArrayExpression",
"start": 1811,
"end": 1975,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 67,
"column": 5
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 1821,
"end": 1969,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 66,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1835,
"end": 1854,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 31
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1835,
"end": 1840,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 17
},
"identifierName": "title"
},
"name": "title"
},
"value": {
"type": "StringLiteral",
"start": 1842,
"end": 1854,
"loc": {
"start": {
"line": 62,
"column": 19
},
"end": {
"line": 62,
"column": 31
}
},
"extra": {
"rawValue": "Reset view",
"raw": "\"Reset view\""
},
"value": "Reset view"
}
},
{
"type": "ObjectProperty",
"start": 1868,
"end": 1959,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 65,
"column": 13
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1868,
"end": 1876,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 20
},
"identifierName": "callback"
},
"name": "callback"
},
"value": {
"type": "FunctionExpression",
"start": 1878,
"end": 1959,
"loc": {
"start": {
"line": 63,
"column": 22
},
"end": {
"line": 65,
"column": 13
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1888,
"end": 1895,
"loc": {
"start": {
"line": 63,
"column": 32
},
"end": {
"line": 63,
"column": 39
},
"identifierName": "context"
},
"name": "context"
}
],
"body": {
"type": "BlockStatement",
"start": 1897,
"end": 1959,
"loc": {
"start": {
"line": 63,
"column": 41
},
"end": {
"line": 65,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1915,
"end": 1945,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 46
}
},
"expression": {
"type": "CallExpression",
"start": 1915,
"end": 1944,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 45
}
},
"callee": {
"type": "MemberExpression",
"start": 1915,
"end": 1942,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 1915,
"end": 1932,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 1915,
"end": 1922,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 23
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 1923,
"end": 1932,
"loc": {
"start": {
"line": 64,
"column": 24
},
"end": {
"line": 64,
"column": 33
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1933,
"end": 1942,
"loc": {
"start": {
"line": 64,
"column": 34
},
"end": {
"line": 64,
"column": 43
},
"identifierName": "resetView"
},
"name": "resetView"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
}
]
}
]
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * ContextMenu items for when user right-clicks on empty canvas space.\n * @private\n ",
"start": 72,
"end": 162,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 6,
"column": 3
}
}
}
],
"trailingComments": []
},
"specifiers": null,
"source": null,
"leadingComments": null
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\n * ContextMenu items for when user right-clicks on empty canvas space.\n * @private\n ",
"start": 72,
"end": 162,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 6,
"column": 3
}
}
}
],
"tokens": [
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 8,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 12
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12,
"end": 13,
"loc": {
"start": {
"line": 1,
"column": 12
},
"end": {
"line": 1,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 14,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "@xeokit/xeokit-sdk/src/viewer/scene/math/math.js",
"start": 19,
"end": 69,
"loc": {
"start": {
"line": 1,
"column": 19
},
"end": {
"line": 1,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 69,
"end": 70,
"loc": {
"start": {
"line": 1,
"column": 69
},
"end": {
"line": 1,
"column": 70
}
}
},
{
"type": "CommentBlock",
"value": "*\n * ContextMenu items for when user right-clicks on empty canvas space.\n * @private\n ",
"start": 72,
"end": 162,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 6,
"column": 3
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 163,
"end": 168,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "CanvasContextMenuItems",
"start": 169,
"end": 191,
"loc": {
"start": {
"line": 7,
"column": 6
},
"end": {
"line": 7,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 192,
"end": 193,
"loc": {
"start": {
"line": 7,
"column": 29
},
"end": {
"line": 7,
"column": 30
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 194,
"end": 195,
"loc": {
"start": {
"line": 7,
"column": 31
},
"end": {
"line": 7,
"column": 32
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 200,
"end": 201,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 5
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 210,
"end": 211,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "title",
"start": 224,
"end": 229,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 17
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 229,
"end": 230,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Hide all",
"start": 231,
"end": 241,
"loc": {
"start": {
"line": 10,
"column": 19
},
"end": {
"line": 10,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 241,
"end": 242,
"loc": {
"start": {
"line": 10,
"column": 29
},
"end": {
"line": 10,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "callback",
"start": 255,
"end": 263,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 263,
"end": 264,
"loc": {
"start": {
"line": 11,
"column": 20
},
"end": {
"line": 11,
"column": 21
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 265,
"end": 273,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 11,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 274,
"end": 275,
"loc": {
"start": {
"line": 11,
"column": 31
},
"end": {
"line": 11,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 275,
"end": 282,
"loc": {
"start": {
"line": 11,
"column": 32
},
"end": {
"line": 11,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 282,
"end": 283,
"loc": {
"start": {
"line": 11,
"column": 39
},
"end": {
"line": 11,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 284,
"end": 285,
"loc": {
"start": {
"line": 11,
"column": 41
},
"end": {
"line": 11,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 302,
"end": 309,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 309,
"end": 310,
"loc": {
"start": {
"line": 12,
"column": 23
},
"end": {
"line": 12,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 310,
"end": 316,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 316,
"end": 317,
"loc": {
"start": {
"line": 12,
"column": 30
},
"end": {
"line": 12,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 317,
"end": 322,
"loc": {
"start": {
"line": 12,
"column": 31
},
"end": {
"line": 12,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 322,
"end": 323,
"loc": {
"start": {
"line": 12,
"column": 36
},
"end": {
"line": 12,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setObjectsVisible",
"start": 323,
"end": 340,
"loc": {
"start": {
"line": 12,
"column": 37
},
"end": {
"line": 12,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 340,
"end": 341,
"loc": {
"start": {
"line": 12,
"column": 54
},
"end": {
"line": 12,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 341,
"end": 348,
"loc": {
"start": {
"line": 12,
"column": 55
},
"end": {
"line": 12,
"column": 62
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 348,
"end": 349,
"loc": {
"start": {
"line": 12,
"column": 62
},
"end": {
"line": 12,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 349,
"end": 355,
"loc": {
"start": {
"line": 12,
"column": 63
},
"end": {
"line": 12,
"column": 69
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 355,
"end": 356,
"loc": {
"start": {
"line": 12,
"column": 69
},
"end": {
"line": 12,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 356,
"end": 361,
"loc": {
"start": {
"line": 12,
"column": 70
},
"end": {
"line": 12,
"column": 75
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 361,
"end": 362,
"loc": {
"start": {
"line": 12,
"column": 75
},
"end": {
"line": 12,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibleObjectIds",
"start": 362,
"end": 378,
"loc": {
"start": {
"line": 12,
"column": 76
},
"end": {
"line": 12,
"column": 92
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 378,
"end": 379,
"loc": {
"start": {
"line": 12,
"column": 92
},
"end": {
"line": 12,
"column": 93
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 380,
"end": 385,
"loc": {
"start": {
"line": 12,
"column": 94
},
"end": {
"line": 12,
"column": 99
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 385,
"end": 386,
"loc": {
"start": {
"line": 12,
"column": 99
},
"end": {
"line": 12,
"column": 100
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 386,
"end": 387,
"loc": {
"start": {
"line": 12,
"column": 100
},
"end": {
"line": 12,
"column": 101
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 400,
"end": 401,
"loc": {
"start": {
"line": 13,
"column": 12
},
"end": {
"line": 13,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 410,
"end": 411,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 9
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 411,
"end": 412,
"loc": {
"start": {
"line": 14,
"column": 9
},
"end": {
"line": 14,
"column": 10
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 421,
"end": 422,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "title",
"start": 435,
"end": 440,
"loc": {
"start": {
"line": 16,
"column": 12
},
"end": {
"line": 16,
"column": 17
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 440,
"end": 441,
"loc": {
"start": {
"line": 16,
"column": 17
},
"end": {
"line": 16,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Show all",
"start": 442,
"end": 452,
"loc": {
"start": {
"line": 16,
"column": 19
},
"end": {
"line": 16,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 452,
"end": 453,
"loc": {
"start": {
"line": 16,
"column": 29
},
"end": {
"line": 16,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "callback",
"start": 466,
"end": 474,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 474,
"end": 475,
"loc": {
"start": {
"line": 17,
"column": 20
},
"end": {
"line": 17,
"column": 21
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 476,
"end": 484,
"loc": {
"start": {
"line": 17,
"column": 22
},
"end": {
"line": 17,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 485,
"end": 486,
"loc": {
"start": {
"line": 17,
"column": 31
},
"end": {
"line": 17,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 486,
"end": 493,
"loc": {
"start": {
"line": 17,
"column": 32
},
"end": {
"line": 17,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 493,
"end": 494,
"loc": {
"start": {
"line": 17,
"column": 39
},
"end": {
"line": 17,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 495,
"end": 496,
"loc": {
"start": {
"line": 17,
"column": 41
},
"end": {
"line": 17,
"column": 42
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 513,
"end": 518,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 519,
"end": 524,
"loc": {
"start": {
"line": 18,
"column": 22
},
"end": {
"line": 18,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 525,
"end": 526,
"loc": {
"start": {
"line": 18,
"column": 28
},
"end": {
"line": 18,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 527,
"end": 534,
"loc": {
"start": {
"line": 18,
"column": 30
},
"end": {
"line": 18,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 534,
"end": 535,
"loc": {
"start": {
"line": 18,
"column": 37
},
"end": {
"line": 18,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 535,
"end": 541,
"loc": {
"start": {
"line": 18,
"column": 38
},
"end": {
"line": 18,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 541,
"end": 542,
"loc": {
"start": {
"line": 18,
"column": 44
},
"end": {
"line": 18,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 542,
"end": 547,
"loc": {
"start": {
"line": 18,
"column": 45
},
"end": {
"line": 18,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 547,
"end": 548,
"loc": {
"start": {
"line": 18,
"column": 50
},
"end": {
"line": 18,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 565,
"end": 570,
"loc": {
"start": {
"line": 19,
"column": 16
},
"end": {
"line": 19,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 570,
"end": 571,
"loc": {
"start": {
"line": 19,
"column": 21
},
"end": {
"line": 19,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setObjectsVisible",
"start": 571,
"end": 588,
"loc": {
"start": {
"line": 19,
"column": 22
},
"end": {
"line": 19,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 588,
"end": 589,
"loc": {
"start": {
"line": 19,
"column": 39
},
"end": {
"line": 19,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 589,
"end": 594,
"loc": {
"start": {
"line": 19,
"column": 40
},
"end": {
"line": 19,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 594,
"end": 595,
"loc": {
"start": {
"line": 19,
"column": 45
},
"end": {
"line": 19,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "objectIds",
"start": 595,
"end": 604,
"loc": {
"start": {
"line": 19,
"column": 46
},
"end": {
"line": 19,
"column": 55
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 604,
"end": 605,
"loc": {
"start": {
"line": 19,
"column": 55
},
"end": {
"line": 19,
"column": 56
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 606,
"end": 610,
"loc": {
"start": {
"line": 19,
"column": 57
},
"end": {
"line": 19,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 610,
"end": 611,
"loc": {
"start": {
"line": 19,
"column": 61
},
"end": {
"line": 19,
"column": 62
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 611,
"end": 612,
"loc": {
"start": {
"line": 19,
"column": 62
},
"end": {
"line": 19,
"column": 63
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 625,
"end": 626,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 20,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 635,
"end": 636,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 9
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 641,
"end": 642,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 642,
"end": 643,
"loc": {
"start": {
"line": 22,
"column": 5
},
"end": {
"line": 22,
"column": 6
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 648,
"end": 649,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 5
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 658,
"end": 659,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "title",
"start": 672,
"end": 677,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 17
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 677,
"end": 678,
"loc": {
"start": {
"line": 25,
"column": 17
},
"end": {
"line": 25,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "View fit all",
"start": 679,
"end": 693,
"loc": {
"start": {
"line": 25,
"column": 19
},
"end": {
"line": 25,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 693,
"end": 694,
"loc": {
"start": {
"line": 25,
"column": 33
},
"end": {
"line": 25,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "callback",
"start": 707,
"end": 715,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 715,
"end": 716,
"loc": {
"start": {
"line": 26,
"column": 20
},
"end": {
"line": 26,
"column": 21
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 717,
"end": 725,
"loc": {
"start": {
"line": 26,
"column": 22
},
"end": {
"line": 26,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 726,
"end": 727,
"loc": {
"start": {
"line": 26,
"column": 31
},
"end": {
"line": 26,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 727,
"end": 734,
"loc": {
"start": {
"line": 26,
"column": 32
},
"end": {
"line": 26,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 734,
"end": 735,
"loc": {
"start": {
"line": 26,
"column": 39
},
"end": {
"line": 26,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 736,
"end": 737,
"loc": {
"start": {
"line": 26,
"column": 41
},
"end": {
"line": 26,
"column": 42
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 754,
"end": 759,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 760,
"end": 766,
"loc": {
"start": {
"line": 27,
"column": 22
},
"end": {
"line": 27,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 767,
"end": 768,
"loc": {
"start": {
"line": 27,
"column": 29
},
"end": {
"line": 27,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 769,
"end": 776,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 776,
"end": 777,
"loc": {
"start": {
"line": 27,
"column": 38
},
"end": {
"line": 27,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 777,
"end": 783,
"loc": {
"start": {
"line": 27,
"column": 39
},
"end": {
"line": 27,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 783,
"end": 784,
"loc": {
"start": {
"line": 27,
"column": 45
},
"end": {
"line": 27,
"column": 46
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 801,
"end": 806,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 807,
"end": 812,
"loc": {
"start": {
"line": 28,
"column": 22
},
"end": {
"line": 28,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 813,
"end": 814,
"loc": {
"start": {
"line": 28,
"column": 28
},
"end": {
"line": 28,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 815,
"end": 821,
"loc": {
"start": {
"line": 28,
"column": 30
},
"end": {
"line": 28,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 821,
"end": 822,
"loc": {
"start": {
"line": 28,
"column": 36
},
"end": {
"line": 28,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 822,
"end": 827,
"loc": {
"start": {
"line": 28,
"column": 37
},
"end": {
"line": 28,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 827,
"end": 828,
"loc": {
"start": {
"line": 28,
"column": 42
},
"end": {
"line": 28,
"column": 43
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 845,
"end": 850,
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sceneAABB",
"start": 851,
"end": 860,
"loc": {
"start": {
"line": 29,
"column": 22
},
"end": {
"line": 29,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 861,
"end": 862,
"loc": {
"start": {
"line": 29,
"column": 32
},
"end": {
"line": 29,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 863,
"end": 868,
"loc": {
"start": {
"line": 29,
"column": 34
},
"end": {
"line": 29,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 868,
"end": 869,
"loc": {
"start": {
"line": 29,
"column": 39
},
"end": {
"line": 29,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAABB",
"start": 869,
"end": 876,
"loc": {
"start": {
"line": 29,
"column": 40
},
"end": {
"line": 29,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 876,
"end": 877,
"loc": {
"start": {
"line": 29,
"column": 47
},
"end": {
"line": 29,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 877,
"end": 882,
"loc": {
"start": {
"line": 29,
"column": 48
},
"end": {
"line": 29,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 882,
"end": 883,
"loc": {
"start": {
"line": 29,
"column": 53
},
"end": {
"line": 29,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibleObjectIds",
"start": 883,
"end": 899,
"loc": {
"start": {
"line": 29,
"column": 54
},
"end": {
"line": 29,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 899,
"end": 900,
"loc": {
"start": {
"line": 29,
"column": 70
},
"end": {
"line": 29,
"column": 71
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 900,
"end": 901,
"loc": {
"start": {
"line": 29,
"column": 71
},
"end": {
"line": 29,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 918,
"end": 924,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 924,
"end": 925,
"loc": {
"start": {
"line": 30,
"column": 22
},
"end": {
"line": 30,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraFlight",
"start": 925,
"end": 937,
"loc": {
"start": {
"line": 30,
"column": 23
},
"end": {
"line": 30,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 937,
"end": 938,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "flyTo",
"start": 938,
"end": 943,
"loc": {
"start": {
"line": 30,
"column": 36
},
"end": {
"line": 30,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 943,
"end": 944,
"loc": {
"start": {
"line": 30,
"column": 41
},
"end": {
"line": 30,
"column": 42
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 944,
"end": 945,
"loc": {
"start": {
"line": 30,
"column": 42
},
"end": {
"line": 30,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aabb",
"start": 966,
"end": 970,
"loc": {
"start": {
"line": 31,
"column": 20
},
"end": {
"line": 31,
"column": 24
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 970,
"end": 971,
"loc": {
"start": {
"line": 31,
"column": 24
},
"end": {
"line": 31,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sceneAABB",
"start": 972,
"end": 981,
"loc": {
"start": {
"line": 31,
"column": 26
},
"end": {
"line": 31,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 981,
"end": 982,
"loc": {
"start": {
"line": 31,
"column": 35
},
"end": {
"line": 31,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "duration",
"start": 1003,
"end": 1011,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1011,
"end": 1012,
"loc": {
"start": {
"line": 32,
"column": 28
},
"end": {
"line": 32,
"column": 29
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.5,
"start": 1013,
"end": 1016,
"loc": {
"start": {
"line": 32,
"column": 30
},
"end": {
"line": 32,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1033,
"end": 1034,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1034,
"end": 1035,
"loc": {
"start": {
"line": 33,
"column": 17
},
"end": {
"line": 33,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1035,
"end": 1036,
"loc": {
"start": {
"line": 33,
"column": 18
},
"end": {
"line": 33,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1053,
"end": 1059,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1059,
"end": 1060,
"loc": {
"start": {
"line": 34,
"column": 22
},
"end": {
"line": 34,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 1060,
"end": 1073,
"loc": {
"start": {
"line": 34,
"column": 23
},
"end": {
"line": 34,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1073,
"end": 1074,
"loc": {
"start": {
"line": 34,
"column": 36
},
"end": {
"line": 34,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pivotPos",
"start": 1074,
"end": 1082,
"loc": {
"start": {
"line": 34,
"column": 37
},
"end": {
"line": 34,
"column": 45
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1083,
"end": 1084,
"loc": {
"start": {
"line": 34,
"column": 46
},
"end": {
"line": 34,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 1085,
"end": 1089,
"loc": {
"start": {
"line": 34,
"column": 48
},
"end": {
"line": 34,
"column": 52
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1089,
"end": 1090,
"loc": {
"start": {
"line": 34,
"column": 52
},
"end": {
"line": 34,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAABB3Center",
"start": 1090,
"end": 1104,
"loc": {
"start": {
"line": 34,
"column": 53
},
"end": {
"line": 34,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1104,
"end": 1105,
"loc": {
"start": {
"line": 34,
"column": 67
},
"end": {
"line": 34,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sceneAABB",
"start": 1105,
"end": 1114,
"loc": {
"start": {
"line": 34,
"column": 68
},
"end": {
"line": 34,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1114,
"end": 1115,
"loc": {
"start": {
"line": 34,
"column": 77
},
"end": {
"line": 34,
"column": 78
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1115,
"end": 1116,
"loc": {
"start": {
"line": 34,
"column": 78
},
"end": {
"line": 34,
"column": 79
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1129,
"end": 1130,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1139,
"end": 1140,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 9
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1145,
"end": 1146,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1146,
"end": 1147,
"loc": {
"start": {
"line": 37,
"column": 5
},
"end": {
"line": 37,
"column": 6
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1152,
"end": 1153,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 38,
"column": 5
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1162,
"end": 1163,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "title",
"start": 1176,
"end": 1181,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 17
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1181,
"end": 1182,
"loc": {
"start": {
"line": 40,
"column": 17
},
"end": {
"line": 40,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "X-ray all",
"start": 1183,
"end": 1194,
"loc": {
"start": {
"line": 40,
"column": 19
},
"end": {
"line": 40,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1194,
"end": 1195,
"loc": {
"start": {
"line": 40,
"column": 30
},
"end": {
"line": 40,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "callback",
"start": 1208,
"end": 1216,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1216,
"end": 1217,
"loc": {
"start": {
"line": 41,
"column": 20
},
"end": {
"line": 41,
"column": 21
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 1218,
"end": 1226,
"loc": {
"start": {
"line": 41,
"column": 22
},
"end": {
"line": 41,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1227,
"end": 1228,
"loc": {
"start": {
"line": 41,
"column": 31
},
"end": {
"line": 41,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 1228,
"end": 1235,
"loc": {
"start": {
"line": 41,
"column": 32
},
"end": {
"line": 41,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1235,
"end": 1236,
"loc": {
"start": {
"line": 41,
"column": 39
},
"end": {
"line": 41,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1237,
"end": 1238,
"loc": {
"start": {
"line": 41,
"column": 41
},
"end": {
"line": 41,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 1255,
"end": 1262,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1262,
"end": 1263,
"loc": {
"start": {
"line": 42,
"column": 23
},
"end": {
"line": 42,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1263,
"end": 1269,
"loc": {
"start": {
"line": 42,
"column": 24
},
"end": {
"line": 42,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1269,
"end": 1270,
"loc": {
"start": {
"line": 42,
"column": 30
},
"end": {
"line": 42,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1270,
"end": 1275,
"loc": {
"start": {
"line": 42,
"column": 31
},
"end": {
"line": 42,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1275,
"end": 1276,
"loc": {
"start": {
"line": 42,
"column": 36
},
"end": {
"line": 42,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setObjectsXRayed",
"start": 1276,
"end": 1292,
"loc": {
"start": {
"line": 42,
"column": 37
},
"end": {
"line": 42,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1292,
"end": 1293,
"loc": {
"start": {
"line": 42,
"column": 53
},
"end": {
"line": 42,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 1293,
"end": 1300,
"loc": {
"start": {
"line": 42,
"column": 54
},
"end": {
"line": 42,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1300,
"end": 1301,
"loc": {
"start": {
"line": 42,
"column": 61
},
"end": {
"line": 42,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1301,
"end": 1307,
"loc": {
"start": {
"line": 42,
"column": 62
},
"end": {
"line": 42,
"column": 68
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1307,
"end": 1308,
"loc": {
"start": {
"line": 42,
"column": 68
},
"end": {
"line": 42,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1308,
"end": 1313,
"loc": {
"start": {
"line": 42,
"column": 69
},
"end": {
"line": 42,
"column": 74
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1313,
"end": 1314,
"loc": {
"start": {
"line": 42,
"column": 74
},
"end": {
"line": 42,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "objectIds",
"start": 1314,
"end": 1323,
"loc": {
"start": {
"line": 42,
"column": 75
},
"end": {
"line": 42,
"column": 84
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1323,
"end": 1324,
"loc": {
"start": {
"line": 42,
"column": 84
},
"end": {
"line": 42,
"column": 85
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 1325,
"end": 1329,
"loc": {
"start": {
"line": 42,
"column": 86
},
"end": {
"line": 42,
"column": 90
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1329,
"end": 1330,
"loc": {
"start": {
"line": 42,
"column": 90
},
"end": {
"line": 42,
"column": 91
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1330,
"end": 1331,
"loc": {
"start": {
"line": 42,
"column": 91
},
"end": {
"line": 42,
"column": 92
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1344,
"end": 1345,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1354,
"end": 1355,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 9
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1355,
"end": 1356,
"loc": {
"start": {
"line": 44,
"column": 9
},
"end": {
"line": 44,
"column": 10
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1365,
"end": 1366,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "title",
"start": 1379,
"end": 1384,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 17
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1384,
"end": 1385,
"loc": {
"start": {
"line": 46,
"column": 17
},
"end": {
"line": 46,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "X-Ray None",
"start": 1386,
"end": 1399,
"loc": {
"start": {
"line": 46,
"column": 19
},
"end": {
"line": 46,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1399,
"end": 1400,
"loc": {
"start": {
"line": 46,
"column": 32
},
"end": {
"line": 46,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "callback",
"start": 1413,
"end": 1421,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1421,
"end": 1422,
"loc": {
"start": {
"line": 47,
"column": 20
},
"end": {
"line": 47,
"column": 21
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 1423,
"end": 1431,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1432,
"end": 1433,
"loc": {
"start": {
"line": 47,
"column": 31
},
"end": {
"line": 47,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 1433,
"end": 1440,
"loc": {
"start": {
"line": 47,
"column": 32
},
"end": {
"line": 47,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1440,
"end": 1441,
"loc": {
"start": {
"line": 47,
"column": 39
},
"end": {
"line": 47,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1442,
"end": 1443,
"loc": {
"start": {
"line": 47,
"column": 41
},
"end": {
"line": 47,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 1460,
"end": 1467,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1467,
"end": 1468,
"loc": {
"start": {
"line": 48,
"column": 23
},
"end": {
"line": 48,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1468,
"end": 1474,
"loc": {
"start": {
"line": 48,
"column": 24
},
"end": {
"line": 48,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1474,
"end": 1475,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1475,
"end": 1480,
"loc": {
"start": {
"line": 48,
"column": 31
},
"end": {
"line": 48,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1480,
"end": 1481,
"loc": {
"start": {
"line": 48,
"column": 36
},
"end": {
"line": 48,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setObjectsXRayed",
"start": 1481,
"end": 1497,
"loc": {
"start": {
"line": 48,
"column": 37
},
"end": {
"line": 48,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1497,
"end": 1498,
"loc": {
"start": {
"line": 48,
"column": 53
},
"end": {
"line": 48,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 1498,
"end": 1505,
"loc": {
"start": {
"line": 48,
"column": 54
},
"end": {
"line": 48,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1505,
"end": 1506,
"loc": {
"start": {
"line": 48,
"column": 61
},
"end": {
"line": 48,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1506,
"end": 1512,
"loc": {
"start": {
"line": 48,
"column": 62
},
"end": {
"line": 48,
"column": 68
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1512,
"end": 1513,
"loc": {
"start": {
"line": 48,
"column": 68
},
"end": {
"line": 48,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1513,
"end": 1518,
"loc": {
"start": {
"line": 48,
"column": 69
},
"end": {
"line": 48,
"column": 74
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1518,
"end": 1519,
"loc": {
"start": {
"line": 48,
"column": 74
},
"end": {
"line": 48,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "xrayedObjectIds",
"start": 1519,
"end": 1534,
"loc": {
"start": {
"line": 48,
"column": 75
},
"end": {
"line": 48,
"column": 90
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1534,
"end": 1535,
"loc": {
"start": {
"line": 48,
"column": 90
},
"end": {
"line": 48,
"column": 91
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 1536,
"end": 1541,
"loc": {
"start": {
"line": 48,
"column": 92
},
"end": {
"line": 48,
"column": 97
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1541,
"end": 1542,
"loc": {
"start": {
"line": 48,
"column": 97
},
"end": {
"line": 48,
"column": 98
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1542,
"end": 1543,
"loc": {
"start": {
"line": 48,
"column": 98
},
"end": {
"line": 48,
"column": 99
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1556,
"end": 1557,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1566,
"end": 1567,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 9
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1572,
"end": 1573,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 51,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1573,
"end": 1574,
"loc": {
"start": {
"line": 51,
"column": 5
},
"end": {
"line": 51,
"column": 6
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1579,
"end": 1580,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 5
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1589,
"end": 1590,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "title",
"start": 1603,
"end": 1608,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 17
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1608,
"end": 1609,
"loc": {
"start": {
"line": 54,
"column": 17
},
"end": {
"line": 54,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Reset selection",
"start": 1610,
"end": 1627,
"loc": {
"start": {
"line": 54,
"column": 19
},
"end": {
"line": 54,
"column": 36
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1627,
"end": 1628,
"loc": {
"start": {
"line": 54,
"column": 36
},
"end": {
"line": 54,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "callback",
"start": 1641,
"end": 1649,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1649,
"end": 1650,
"loc": {
"start": {
"line": 55,
"column": 20
},
"end": {
"line": 55,
"column": 21
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 1651,
"end": 1659,
"loc": {
"start": {
"line": 55,
"column": 22
},
"end": {
"line": 55,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1660,
"end": 1661,
"loc": {
"start": {
"line": 55,
"column": 31
},
"end": {
"line": 55,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 1661,
"end": 1668,
"loc": {
"start": {
"line": 55,
"column": 32
},
"end": {
"line": 55,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1668,
"end": 1669,
"loc": {
"start": {
"line": 55,
"column": 39
},
"end": {
"line": 55,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1670,
"end": 1671,
"loc": {
"start": {
"line": 55,
"column": 41
},
"end": {
"line": 55,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 1688,
"end": 1695,
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1695,
"end": 1696,
"loc": {
"start": {
"line": 56,
"column": 23
},
"end": {
"line": 56,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1696,
"end": 1702,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 56,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1702,
"end": 1703,
"loc": {
"start": {
"line": 56,
"column": 30
},
"end": {
"line": 56,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1703,
"end": 1708,
"loc": {
"start": {
"line": 56,
"column": 31
},
"end": {
"line": 56,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1708,
"end": 1709,
"loc": {
"start": {
"line": 56,
"column": 36
},
"end": {
"line": 56,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setObjectsSelected",
"start": 1709,
"end": 1727,
"loc": {
"start": {
"line": 56,
"column": 37
},
"end": {
"line": 56,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1727,
"end": 1728,
"loc": {
"start": {
"line": 56,
"column": 55
},
"end": {
"line": 56,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 1728,
"end": 1735,
"loc": {
"start": {
"line": 56,
"column": 56
},
"end": {
"line": 56,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1735,
"end": 1736,
"loc": {
"start": {
"line": 56,
"column": 63
},
"end": {
"line": 56,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1736,
"end": 1742,
"loc": {
"start": {
"line": 56,
"column": 64
},
"end": {
"line": 56,
"column": 70
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1742,
"end": 1743,
"loc": {
"start": {
"line": 56,
"column": 70
},
"end": {
"line": 56,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 1743,
"end": 1748,
"loc": {
"start": {
"line": 56,
"column": 71
},
"end": {
"line": 56,
"column": 76
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1748,
"end": 1749,
"loc": {
"start": {
"line": 56,
"column": 76
},
"end": {
"line": 56,
"column": 77
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selectedObjectIds",
"start": 1749,
"end": 1766,
"loc": {
"start": {
"line": 56,
"column": 77
},
"end": {
"line": 56,
"column": 94
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1766,
"end": 1767,
"loc": {
"start": {
"line": 56,
"column": 94
},
"end": {
"line": 56,
"column": 95
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 1768,
"end": 1773,
"loc": {
"start": {
"line": 56,
"column": 96
},
"end": {
"line": 56,
"column": 101
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1773,
"end": 1774,
"loc": {
"start": {
"line": 56,
"column": 101
},
"end": {
"line": 56,
"column": 102
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1774,
"end": 1775,
"loc": {
"start": {
"line": 56,
"column": 102
},
"end": {
"line": 56,
"column": 103
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1788,
"end": 1789,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1798,
"end": 1799,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 9
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1804,
"end": 1805,
"loc": {
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 59,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1805,
"end": 1806,
"loc": {
"start": {
"line": 59,
"column": 5
},
"end": {
"line": 59,
"column": 6
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1811,
"end": 1812,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 5
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1821,
"end": 1822,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "title",
"start": 1835,
"end": 1840,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 17
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1840,
"end": 1841,
"loc": {
"start": {
"line": 62,
"column": 17
},
"end": {
"line": 62,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Reset view",
"start": 1842,
"end": 1854,
"loc": {
"start": {
"line": 62,
"column": 19
},
"end": {
"line": 62,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1854,
"end": 1855,
"loc": {
"start": {
"line": 62,
"column": 31
},
"end": {
"line": 62,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "callback",
"start": 1868,
"end": 1876,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1876,
"end": 1877,
"loc": {
"start": {
"line": 63,
"column": 20
},
"end": {
"line": 63,
"column": 21
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 1878,
"end": 1886,
"loc": {
"start": {
"line": 63,
"column": 22
},
"end": {
"line": 63,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1887,
"end": 1888,
"loc": {
"start": {
"line": 63,
"column": 31
},
"end": {
"line": 63,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 1888,
"end": 1895,
"loc": {
"start": {
"line": 63,
"column": 32
},
"end": {
"line": 63,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1895,
"end": 1896,
"loc": {
"start": {
"line": 63,
"column": 39
},
"end": {
"line": 63,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1897,
"end": 1898,
"loc": {
"start": {
"line": 63,
"column": 41
},
"end": {
"line": 63,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 1915,
"end": 1922,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1922,
"end": 1923,
"loc": {
"start": {
"line": 64,
"column": 23
},
"end": {
"line": 64,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bimViewer",
"start": 1923,
"end": 1932,
"loc": {
"start": {
"line": 64,
"column": 24
},
"end": {
"line": 64,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1932,
"end": 1933,
"loc": {
"start": {
"line": 64,
"column": 33
},
"end": {
"line": 64,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resetView",
"start": 1933,
"end": 1942,
"loc": {
"start": {
"line": 64,
"column": 34
},
"end": {
"line": 64,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1942,
"end": 1943,
"loc": {
"start": {
"line": 64,
"column": 43
},
"end": {
"line": 64,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1943,
"end": 1944,
"loc": {
"start": {
"line": 64,
"column": 44
},
"end": {
"line": 64,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1944,
"end": 1945,
"loc": {
"start": {
"line": 64,
"column": 45
},
"end": {
"line": 64,
"column": 46
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1958,
"end": 1959,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1968,
"end": 1969,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 9
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1974,
"end": 1975,
"loc": {
"start": {
"line": 67,
"column": 4
},
"end": {
"line": 67,
"column": 5
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1976,
"end": 1977,
"loc": {
"start": {
"line": 68,
"column": 0
},
"end": {
"line": 68,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1977,
"end": 1978,
"loc": {
"start": {
"line": 68,
"column": 1
},
"end": {
"line": 68,
"column": 2
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 1980,
"end": 1986,
"loc": {
"start": {
"line": 70,
"column": 0
},
"end": {
"line": 70,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1987,
"end": 1988,
"loc": {
"start": {
"line": 70,
"column": 7
},
"end": {
"line": 70,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "CanvasContextMenuItems",
"start": 1988,
"end": 2010,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2010,
"end": 2011,
"loc": {
"start": {
"line": 70,
"column": 30
},
"end": {
"line": 70,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2011,
"end": 2012,
"loc": {
"start": {
"line": 70,
"column": 31
},
"end": {
"line": 70,
"column": 32
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2012,
"end": 2012,
"loc": {
"start": {
"line": 70,
"column": 32
},
"end": {
"line": 70,
"column": 32
}
}
}
]
}