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

IGizmoAxisSource is an interface which is used to get information about a 3D Axis. 更多...

#include <GizmoInterfaces.h>

+ 类 IGizmoAxisSource 继承关系图:

Public 成员函数

void GetAxisFrame (FVector &PlaneNormalOut, FVector &PlaneAxis1Out, FVector &PlaneAxis2Out) const
 Utility function that always returns a 3D coordinate system (ie plane normal and perpendicular axes). 更多...
 
virtual FVector GetDirection () const =0
 
virtual FVector GetOrigin () const =0
 
virtual void GetTangentVectors (FVector &TangentXOut, FVector &TangentYOut) const
 Get the two tangent vectors that are orthogonal to the Direction vector. 更多...
 
virtual bool HasTangentVectors () const
 

详细描述

IGizmoAxisSource is an interface which is used to get information about a 3D Axis.

At minimum this includes a 3D Direction Vector and Origin Point. Optionally the implementation may provide two Tangent Vectors which are assumed to be mutually-orthogonal and perpendicular to the Axis Direction (ie that's the normal and the 3 vectors form a coordinate frame).

成员函数说明

◆ GetAxisFrame()

void IGizmoAxisSource::GetAxisFrame ( FVector &  PlaneNormalOut,
FVector &  PlaneAxis1Out,
FVector &  PlaneAxis2Out 
) const

Utility function that always returns a 3D coordinate system (ie plane normal and perpendicular axes).

Internally calls GetTangentVectors() if available, otherwise constructs arbitrary mutually perpendicular vectors.

◆ GetDirection()

virtual FVector IGizmoAxisSource::GetDirection ( ) const
pure virtual

◆ GetOrigin()

virtual FVector IGizmoAxisSource::GetOrigin ( ) const
pure virtual

◆ GetTangentVectors()

virtual void IGizmoAxisSource::GetTangentVectors ( FVector &  TangentXOut,
FVector &  TangentYOut 
) const
inlinevirtual

Get the two tangent vectors that are orthogonal to the Direction vector.

警告
Only valid if HasTangentVectors() returns true

被 UGizmoComponentAxisSource , 以及 UGizmoConstantFrameAxisSource 重载.

◆ HasTangentVectors()

virtual bool IGizmoAxisSource::HasTangentVectors ( ) const
inlinevirtual
返回
true if this AxisSource has tangent vectors orthogonal to the Direction vector

被 UGizmoComponentAxisSource , 以及 UGizmoConstantFrameAxisSource 重载.


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