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).
| 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.
|
pure virtual |
在 UGizmoConstantAxisSource, UGizmoConstantFrameAxisSource, UGizmoWorldAxisSource , 以及 UGizmoComponentAxisSource 内被实现.
|
pure virtual |
在 UGizmoConstantAxisSource, UGizmoConstantFrameAxisSource, UGizmoWorldAxisSource , 以及 UGizmoComponentAxisSource 内被实现.
|
inlinevirtual |
Get the two tangent vectors that are orthogonal to the Direction vector.
被 UGizmoComponentAxisSource , 以及 UGizmoConstantFrameAxisSource 重载.
|
inlinevirtual |
被 UGizmoComponentAxisSource , 以及 UGizmoConstantFrameAxisSource 重载.