/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
- package away3d.core.partition
- {
- import away3d.cameras.Camera3D;
- import away3d.core.traverse.PartitionTraverser;
-
- /**
- * CameraNode is a space partitioning leaf node that contains a Camera3D object.
- */
- public class CameraNode extends EntityNode
- {
- /**
- * Creates a new CameraNode object.
- * @param camera The camera to be contained in the node.
- */
- public function CameraNode(camera:Camera3D)
- {
- super(camera);
- }
-
- /**
- * @inheritDoc
- */
- override public function acceptTraverser(traverser:PartitionTraverser):void
- {
- // todo: dead end for now, if it has a debug mesh, then sure accept that
- }
- }
- }