@@ -1139,20 +1139,28 @@ BoundingBox Actor::GetBoxWithChildren() const
|
||||
|
||||
#if USE_EDITOR
|
||||
|
||||
BoundingBox Actor::GetEditorBox() const
|
||||
{
|
||||
return GetBox();
|
||||
}
|
||||
|
||||
BoundingBox Actor::GetEditorBoxChildren() const
|
||||
{
|
||||
BoundingBox result = GetEditorBox();
|
||||
|
||||
for (int32 i = 0; i < Children.Count(); i++)
|
||||
{
|
||||
BoundingBox::Merge(result, Children[i]->GetEditorBoxChildren(), result);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
bool Actor::HasContentLoaded() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void Actor::UnregisterObjectHierarchy()
|
||||
{
|
||||
if (IsRegistered())
|
||||
@@ -1170,6 +1178,10 @@ void Actor::UnregisterObjectHierarchy()
|
||||
}
|
||||
}
|
||||
|
||||
void Actor::Draw(RenderContext& renderContext)
|
||||
{
|
||||
}
|
||||
|
||||
void Actor::DrawGeneric(RenderContext& renderContext)
|
||||
{
|
||||
// Generic drawing uses only GBuffer Fill Pass and simple frustum culling (see SceneRendering for more optimized drawing)
|
||||
|
||||
Reference in New Issue
Block a user