Space Engineers
|
Class that contains the OBBs that are used to obtain tiled mesh (ground and grid), used by Pathfinding More...
Classes | |
struct | OBBCoords |
Public Member Functions | |
MyNavmeshOBBs (MyPlanet planet, Vector3D centerPoint, Vector3D forwardDirection, int obbsPerLine, int tileSize, int tileHeight) | |
MyOrientedBoundingBoxD | GetOBB (int coordX, int coordY) |
Return the OBB at the specific coordinate or null, if is out of bounds More... | |
MyOrientedBoundingBoxD | GetOBB (Vector3D worldPosition) |
Return the OBB at the specific position, or null, if is out of bounds More... | |
OBBCoords | GetOBBCoord (int coordX, int coordY) |
Return the OBB coord at the specific coordinate or null, if is out of bounds More... | |
OBBCoords | GetOBBCoord (Vector3D worldPosition) |
Return the OBB coord at the specific position, or null, if is out of bounds More... | |
List< OBBCoords > | GetIntersectedOBB (LineD line) |
Returns a list of OBBs intersected by a line More... | |
void | DebugDraw () |
Debug draws the OBBs More... | |
void | Clear () |
Static Public Member Functions | |
static Vector3D | GetOBBCorner (MyOrientedBoundingBoxD obb, OBBCorner corner) |
Returns the specified corner from the OBB. More... | |
Properties | |
int | OBBsPerLine [get] |
MyOrientedBoundingBoxD | BaseOBB [get] |
MyOrientedBoundingBoxD | CenterOBB [get] |
List< Vector3D > | NeighboursCenters [get] |
Class that contains the OBBs that are used to obtain tiled mesh (ground and grid), used by Pathfinding
Definition at line 16 of file MyNavmeshOBBs.cs.
Enumerator | |
---|---|
UpperFrontLeft | |
UpperBackLeft | |
LowerBackLeft | |
LowerFrontLeft | |
UpperFrontRight | |
UpperBackRight | |
LowerBackRight | |
LowerFrontRight |
Definition at line 450 of file MyNavmeshOBBs.cs.
|
inline |
Definition at line 50 of file MyNavmeshOBBs.cs.
|
inline |
Definition at line 265 of file MyNavmeshOBBs.cs.
|
inline |
Debug draws the OBBs
Definition at line 197 of file MyNavmeshOBBs.cs.
Returns a list of OBBs intersected by a line
Definition at line 147 of file MyNavmeshOBBs.cs.
|
inline |
Return the OBB at the specific coordinate or null, if is out of bounds
Definition at line 78 of file MyNavmeshOBBs.cs.
|
inline |
Return the OBB at the specific position, or null, if is out of bounds
Definition at line 91 of file MyNavmeshOBBs.cs.
|
inline |
Return the OBB coord at the specific coordinate or null, if is out of bounds
Definition at line 112 of file MyNavmeshOBBs.cs.
Return the OBB coord at the specific position, or null, if is out of bounds
Definition at line 125 of file MyNavmeshOBBs.cs.
|
inlinestatic |
Returns the specified corner from the OBB.
obb | |
corner |
Definition at line 468 of file MyNavmeshOBBs.cs.
|
get |
Definition at line 38 of file MyNavmeshOBBs.cs.
|
get |
Definition at line 41 of file MyNavmeshOBBs.cs.
|
get |
Definition at line 46 of file MyNavmeshOBBs.cs.
|
get |
Definition at line 36 of file MyNavmeshOBBs.cs.