FTransformGizmoActorFactory creates new instances of ATransformGizmoActor which are used by UTransformGizmo to implement 3D transformation Gizmos. 更多...
#include <TransformGizmo.h>
Public 成员函数 | |
| virtual ATransformGizmoActor * | CreateNewGizmoActor (UWorld *World) const |
Public 属性 | |
| ETransformGizmoSubElements | EnableElements |
| Only these members of the ATransformGizmoActor gizmo will be initialized | |
FTransformGizmoActorFactory creates new instances of ATransformGizmoActor which are used by UTransformGizmo to implement 3D transformation Gizmos.
An instance of FTransformGizmoActorFactory is passed to UTransformGizmo (by way of UTransformGizmoBuilder), which then calls CreateNewGizmoActor() to spawn new Gizmo Actors.
By default CreateNewGizmoActor() returns a default Gizmo Actor suitable for a three-axis transformation Gizmo, override this function to customize the Actor sub-elements.
|
virtual |
| World | the UWorld to create the new Actor in |