예제 #1
0
 public void Visit(OmniLight3D omni)
 {
     _decoratedLight = new REOmniLight(omni, ToAbsolute(omni.Position), _context.Scene);
 }
예제 #2
0
 public void Visit(Light3DComposite composite)
 {
     _context.PushCoordinateSystem(composite.CoordinateSystem);
     RELightComposite decorated = new RELightComposite(composite, _context.Scene);
     foreach (Light3D child in composite) {
         child.AcceptVisitor(this);
         decorated.Add(this._decoratedLight);
     }
     _context.PopCoordinateSystem();
     _decoratedLight = decorated;
 }