Navigation
API > API/Runtime > API/Runtime/Engine
Describes an object location in the rendering hierarchical spatial hash grid. The location cosists of an integer 3D coordinate and a Level which is derived such that the size of the bounds are at most 1 (integer) unit at that level. Put differently, the Level is calculated as the FloorLog2(Size).
| Name | TLocation |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Rendering/RenderingSpatialHash.h |
| Include Path | #include "Rendering/RenderingSpatialHash.h" |
Syntax
template<typename ScalarType>
struct TLocation
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TLocation () |
Rendering/RenderingSpatialHash.h | ||
| Rendering/RenderingSpatialHash.h | |||
TLocation
(
const UE::Math::TIntVector3< ScalarBType >& InCoord, |
Rendering/RenderingSpatialHash.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FIntVector3 | UE::Math::TIntVector3< ScalarType > | Rendering/RenderingSpatialHash.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Coord | FIntVector3 | Rendering/RenderingSpatialHash.h | ||
| Level | int32 | Rendering/RenderingSpatialHash.h |
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Rendering/RenderingSpatialHash.h | |||
bool operator!=
(
const TLocation& Other |
Rendering/RenderingSpatialHash.h | ||
| Rendering/RenderingSpatialHash.h | |||
bool operator==
(
const TLocation& Other |
Rendering/RenderingSpatialHash.h |