Get Resource Sink Building
Gets a list of all resource sinks.
Response Body
| Name | Type | Description |
|---|---|---|
ID |
String |
Unique ID of the AWESOME Sink Building. |
Name |
String |
Name of the AWESOME Sink Building. |
ClassName |
String |
ClassName of the AWESOME Sink Building. |
location |
Object |
Location details of the AWESOME Sink Building. |
x |
Float |
X Location in the World. |
y |
Float |
Y Location in the World. |
z |
Float |
Z Location in the World. |
rotation |
Float |
Rotation of the Actor (0 - 359, 0 = North, 90 = East, 180 = South, 270 = West). |
BoundingBox |
Object |
Bounding Box information about the Actor. |
min |
Object |
The minimum boundary of the bounding box in the corresponding axis. |
x |
Float |
Value along the X-axis. |
y |
Float |
Value along the Y-axis. |
z |
Float |
Value along the Z-axis. |
max |
Object |
The maximum boundary of the bounding box in the corresponding axis. |
x |
Float |
Value along the X-axis. |
y |
Float |
Value along the Y-axis. |
z |
Float |
Value along the Z-axis. |
ColorSlot |
Object |
Color/Decoration information about the Actor. |
PrimaryColor |
String |
Hex Code of Primary Color |
SecondaryColor |
String |
Hex Code of Secondary Color |
features |
Object |
An object with actor coordinates and name information. |
properties |
Object |
Name information about the actor. |
name |
String |
Display Name of the Actor. |
type |
String |
Type of the Object. |
geometry |
Object |
Geometry information about the Actor. |
coordinates |
Object |
The Actor coordinates. |
x |
Float |
X Location of the Actor. |
y |
Float |
Y Location of the Actor. |
z |
Float |
Z Location of the Actor. |
type |
String |
It’s always "Point". |
Example Response
[
{
"ID": "Build_ResourceSink_C_2146243248",
"Name": "AWESOME Sink",
"ClassName": "Build_ResourceSink_C",
"location": {
"x": -249444.4375,
"y": -43711.10546875,
"z": -332.729309082031,
"rotation": 90
},
"BoundingBox": {
"min": {
"x": -250044.4375,
"y": -44411.10546875,
"z": -332.729309082031
},
"max": {
"x": -248444.4375,
"y": -43011.10546875,
"z": 1487.27069091797
}
},
"ColorSlot": {
"PrimaryColor": "FA954900",
"SecondaryColor": "5F668C00"
},
"PowerInfo": {
"CircuitGroupID": 0,
"CircuitID": 5,
"FuseTriggered": false,
"PowerConsumed": 0.100000001490116,
"MaxPowerConsumed": 30
}
}
]