Added Camera::isRenderToTextureCamera() method, and improved support in PickVisitor

and IntersectVisitor for CameraNode, including the ignoring of render to texture cameras,
such that HUD's etc are still intersected against.
This commit is contained in:
Robert Osfield
2005-12-07 11:36:56 +00:00
parent 99be2cdb7f
commit 3f3c7b1df8
5 changed files with 25 additions and 14 deletions

View File

@@ -53,6 +53,11 @@ CameraNode::~CameraNode()
{
}
bool CameraNode::isRenderToTextureCamera() const
{
return (!_bufferAttachmentMap.empty());
}
void CameraNode::setRenderTargetImplementation(RenderTargetImplementation impl)
{
_renderTargetImplementation = impl;