Files
FlaxEngine/Source/Engine/Level/Actors/EmptyActor.h
T
mafiesto4 330df10902 Fix spawning actors in viewport to have better origin placement
Empty Actor is a building block of hierarchies so don't include dummy bounds there.
Wait for dragged asset to be loaded for proper bounds.
Use mesh bounds for non-active Animated Model for accurate placement.
2026-09-26 23:01:15 +02:00

19 lines
461 B
C++

// Copyright (c) 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(Attributes="ActorContextMenu(\"New/Actor\"), ActorToolbox(\"Other\")")
class FLAXENGINE_API EmptyActor : public Actor
{
DECLARE_SCENE_OBJECT(EmptyActor);
protected:
// [Actor]
void OnTransformChanged() override;
};