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; }
public REScene() { lights = new RELightComposite(new Light3DComposite(), this); }