export class BoundingVolume { box?: number[]; region?: number[]; sphere?: number[]; static fromJson(jsonObj: any) { const boundingVolume = new BoundingVolume(); boundingVolume.box = jsonObj["box"]; boundingVolume.region = jsonObj["region"]; boundingVolume.sphere = jsonObj["sphere"]; return boundingVolume; } }