Data stored in a road map pixel. See URoadMap.
More...
#include <RoadMap.h>
Data stored in a road map pixel. See URoadMap.
Definition at line 29 of file RoadMap.h.
◆ FRoadMapPixelData()
FRoadMapPixelData::FRoadMapPixelData |
( |
uint16 |
inValue | ) |
|
|
inlineexplicit |
◆ Encode()
uint16 FRoadMapPixelData::Encode |
( |
bool |
IsRoad, |
|
|
bool |
HasDirection, |
|
|
const FVector & |
Direction |
|
) |
| |
|
staticprivate |
◆ EncodeAsColor()
FColor FRoadMapPixelData::EncodeAsColor |
( |
| ) |
const |
◆ GetDirection()
FVector FRoadMapPixelData::GetDirection |
( |
| ) |
const |
|
inline |
Get the road direction at this pixel.
Undefined if !HasDirection().
Definition at line 72 of file RoadMap.h.
◆ GetDirectionAzimuthalAngle()
float FRoadMapPixelData::GetDirectionAzimuthalAngle |
( |
| ) |
const |
|
inline |
◆ HasDirection()
bool FRoadMapPixelData::HasDirection |
( |
| ) |
const |
|
inline |
Whether this pixel has a direction defined (e.g.
road intersections are not off-road but neither have defined direction).
Definition at line 53 of file RoadMap.h.
Referenced by EncodeAsColor().
◆ IsRoad()
bool FRoadMapPixelData::IsRoad |
( |
| ) |
const |
|
inline |
◆ URoadMap
◆ AngleMask
constexpr uint16 FRoadMapPixelData::AngleMask = (0xFFFF >> 2) |
|
static |
◆ HasDirectionRow
constexpr int FRoadMapPixelData::HasDirectionRow = 14 |
|
static |
◆ IsRoadRow
constexpr int FRoadMapPixelData::IsRoadRow = 15 |
|
static |
◆ MaximumEncodedAngle
constexpr uint16 FRoadMapPixelData::MaximumEncodedAngle = (1 << 14) - 1 |
|
static |
◆ Value
uint16 FRoadMapPixelData::Value |
|
private |
The documentation for this struct was generated from the following files: