dtTransformTileData

BEGIN Offset and rotate around center the data in the tile

Windows
MacOS
Linux

References

Module

Navmesh

Header

/Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMeshBuilder.h

Include

#include "Detour/DetourNavMeshBuilder.h"

Source

/Engine/Source/Runtime/Navmesh/Private/Detour/DetourNavMeshBuilder.cpp

Syntax

bool dtTransformTileData
(
    unsigned char * data,
    const int dataSize,
    const int offsetX,
    const int offsetY,
    const float tileWidth,
    const float tileHeight,
    const float rotationDeg
)

Remarks

BEGIN Offset and rotate around center the data in the tile

Parameters

Parameter

Description

data

Data of the tile mesh. (See: dtCreateNavMeshData)

dataSize

Data size of the tile mesh.

offsetX

X offset in tile coordinates.

offsetY

Y offset in tile coordinates.

tileWidth

Tile width.

tileHeight

Tile height.

rotationDeg

Rotation in degrees.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss