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

Structure for arbitrarily oriented boxes (not necessarily axis-aligned). 更多...

#include <OrientedBox.h>

Public 成员函数

FORCEINLINE void CalcVertices (FVector *Verts) const
 Fills in the Verts array with the eight vertices of the box. 更多...
 
 FOrientedBox ()
 Default constructor. 更多...
 
FORCEINLINE FFloatInterval Project (const FVector &Axis) const
 Finds the projection interval of the box when projected onto Axis. 更多...
 

Public 属性

FVector AxisX
 Holds the x-axis vector of the box. 更多...
 
FVector AxisY
 Holds the y-axis vector of the box. 更多...
 
FVector AxisZ
 Holds the z-axis vector of the box. 更多...
 
FVector Center
 Holds the center of the box.
 
float ExtentX
 Holds the extent of the box along its x-axis.
 
float ExtentY
 Holds the extent of the box along its y-axis.
 
float ExtentZ
 Holds the extent of the box along its z-axis.
 

详细描述

Structure for arbitrarily oriented boxes (not necessarily axis-aligned).

构造及析构函数说明

◆ FOrientedBox()

FOrientedBox::FOrientedBox ( )
inline

Default constructor.

Constructs a unit-sized, origin-centered box with axes aligned to the coordinate system.

成员函数说明

◆ CalcVertices()

FORCEINLINE void FOrientedBox::CalcVertices ( FVector *  Verts) const

Fills in the Verts array with the eight vertices of the box.

参数
VertsThe array to fill in with the vertices.

◆ Project()

FORCEINLINE FFloatInterval FOrientedBox::Project ( const FVector &  Axis) const

Finds the projection interval of the box when projected onto Axis.

参数
AxisThe unit vector defining the axis to project the box onto.

类成员变量说明

◆ AxisX

FVector FOrientedBox::AxisX

Holds the x-axis vector of the box.

Must be a unit vector.

◆ AxisY

FVector FOrientedBox::AxisY

Holds the y-axis vector of the box.

Must be a unit vector.

◆ AxisZ

FVector FOrientedBox::AxisZ

Holds the z-axis vector of the box.

Must be a unit vector.


该结构体的文档由以下文件生成: