25 lines
492 B
C++
25 lines
492 B
C++
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "../Actor.h"
|
|
|
|
/// <summary>
|
|
/// The empty actor that is useful to create hierarchy and/or hold scripts. See <see cref="Script"/>.
|
|
/// </summary>
|
|
API_CLASS() class FLAXENGINE_API EmptyActor : public Actor
|
|
{
|
|
DECLARE_SCENE_OBJECT(EmptyActor);
|
|
public:
|
|
|
|
// [Actor]
|
|
#if USE_EDITOR
|
|
BoundingBox GetEditorBox() const override;
|
|
#endif
|
|
|
|
protected:
|
|
|
|
// [Actor]
|
|
void OnTransformChanged() override;
|
|
};
|