engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FTransformGizmoActorFactory类 参考

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.

成员函数说明

◆ CreateNewGizmoActor()

virtual ATransformGizmoActor * FTransformGizmoActorFactory::CreateNewGizmoActor ( UWorld *  World) const
virtual
参数
Worldthe UWorld to create the new Actor in
返回
new ATransformGizmoActor instance with members initialized with Components suitable for a transformation Gizmo

该类的文档由以下文件生成: