|  | @@ -226,6 +226,19 @@ define(["module", "vwf/model", "vwf/utility"], function (module, model, utility)
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +                if (value === undefined && isAViewOffsetCameraDefinition(node.prototypes)) {
 | 
	
		
			
				|  |  | +                    if (aframeObject.el.getAttribute(aframeObject.compName)) {
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                        value = propertyValue;
 | 
	
		
			
				|  |  | +                        let parentNodeAF = aframeObject.el;
 | 
	
		
			
				|  |  | +                        let defs = ['fullWidth', 'fullHeight', 'xoffset', 'yoffset', 'width', 'height'];
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                        defs.forEach(element => {
 | 
	
		
			
				|  |  | +                            element == propertyName ? parentNodeAF.setAttribute('viewoffset', element, propertyValue) :
 | 
	
		
			
				|  |  | +                                value = undefined;
 | 
	
		
			
				|  |  | +                        })
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                  if (value === undefined && isARayCasterDefinition(node.prototypes)) {
 | 
	
		
			
				|  |  |                      if (aframeObject.el.getAttribute(aframeObject.compName)) {
 | 
	
	
		
			
				|  | @@ -604,6 +617,41 @@ define(["module", "vwf/model", "vwf/utility"], function (module, model, utility)
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +                if (value === undefined && isAViewOffsetCameraDefinition(node.prototypes)) {
 | 
	
		
			
				|  |  | +                    value = propertyValue;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                    // let parentNodeAF = self.state.nodes[node.parentID].aframeObj;
 | 
	
		
			
				|  |  | +                    let parentNodeAF = aframeObject.el;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                    switch (propertyName) {
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                        case "fullWidth":
 | 
	
		
			
				|  |  | +                            value = parentNodeAF.getAttribute(aframeObject.compName).fullWidth;
 | 
	
		
			
				|  |  | +                            break;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                        case "fullHeight":
 | 
	
		
			
				|  |  | +                            value = parentNodeAF.getAttribute(aframeObject.compName).fullHeight;
 | 
	
		
			
				|  |  | +                            break;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                        case "width":
 | 
	
		
			
				|  |  | +                            value = parentNodeAF.getAttribute(aframeObject.compName).width;
 | 
	
		
			
				|  |  | +                            break;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                        case "height":
 | 
	
		
			
				|  |  | +                            value = parentNodeAF.getAttribute(aframeObject.compName).height;
 | 
	
		
			
				|  |  | +                            break;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                        case "xoffset":
 | 
	
		
			
				|  |  | +                            value = parentNodeAF.getAttribute(aframeObject.compName).xoffset;
 | 
	
		
			
				|  |  | +                            break;
 | 
	
		
			
				|  |  | +                        
 | 
	
		
			
				|  |  | +                        case "yoffset":
 | 
	
		
			
				|  |  | +                            value = parentNodeAF.getAttribute(aframeObject.compName).yoffset;
 | 
	
		
			
				|  |  | +                            break;
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                  if (value === undefined && isAInterpolationDefinition(node.prototypes)) {
 | 
	
		
			
				|  |  |                      value = propertyValue;
 | 
	
	
		
			
				|  | @@ -705,6 +753,17 @@ define(["module", "vwf/model", "vwf/utility"], function (module, model, utility)
 | 
	
		
			
				|  |  |          return found;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    function isAViewOffsetCameraDefinition(prototypes) {
 | 
	
		
			
				|  |  | +        var found = false;
 | 
	
		
			
				|  |  | +        if (prototypes) {
 | 
	
		
			
				|  |  | +            for (var i = 0; i < prototypes.length && !found; i++) {
 | 
	
		
			
				|  |  | +                found = (prototypes[i] == "http://vwf.example.com/aframe/viewOffsetCamera-component.vwf");
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        return found;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      function isAGizmoDefinition(prototypes) {
 | 
	
		
			
				|  |  |          var found = false;
 | 
	
		
			
				|  |  |          if (prototypes) {
 | 
	
	
		
			
				|  | @@ -808,6 +867,14 @@ define(["module", "vwf/model", "vwf/utility"], function (module, model, utility)
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +        if (self.state.isComponentClass(protos, "http://vwf.example.com/aframe/viewOffsetCamera-component.vwf")) {
 | 
	
		
			
				|  |  | +            
 | 
	
		
			
				|  |  | +            // aframeObj.el.setAttribute(node.type, {});
 | 
	
		
			
				|  |  | +            aframeObj.compName = "viewoffset";
 | 
	
		
			
				|  |  | +            aframeObj.el.setAttribute(aframeObj.compName, {});
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          if (self.state.isComponentClass(protos, "http://vwf.example.com/aframe/streamSoundComponent.vwf")) {
 | 
	
		
			
				|  |  |              
 | 
	
		
			
				|  |  |              
 |