/src/away3d/core/partition/CameraNode.as

http://github.com/away3d/away3d-core-fp11 · ActionScript · 28 lines · 15 code · 2 blank · 11 comment · 0 complexity · b84b2284b0e765de23c2feb1bf26acfc MD5 · raw file

  1. package away3d.core.partition
  2. {
  3. import away3d.cameras.Camera3D;
  4. import away3d.core.traverse.PartitionTraverser;
  5. /**
  6. * CameraNode is a space partitioning leaf node that contains a Camera3D object.
  7. */
  8. public class CameraNode extends EntityNode
  9. {
  10. /**
  11. * Creates a new CameraNode object.
  12. * @param camera The camera to be contained in the node.
  13. */
  14. public function CameraNode(camera:Camera3D)
  15. {
  16. super(camera);
  17. }
  18. /**
  19. * @inheritDoc
  20. */
  21. override public function acceptTraverser(traverser:PartitionTraverser):void
  22. {
  23. // todo: dead end for now, if it has a debug mesh, then sure accept that
  24. }
  25. }
  26. }