You're breathtaking!
This commit is contained in:
24
Source/Engine/Level/Actors/EmptyActor.h
Normal file
24
Source/Engine/Level/Actors/EmptyActor.h
Normal file
@@ -0,0 +1,24 @@
|
||||
// Copyright (c) 2012-2020 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;
|
||||
};
|
||||
Reference in New Issue
Block a user