The serialized data representing a single region in a NavVolume.
More...
The serialized data representing a single region in a NavVolume.
◆ Create()
Construct a new NavRegionData with the given values.
No value for ExternalLinks is provided here because that must be calculated later.
- Parameters
-
id | ID of the region. |
indices | Indices of the region triangles. |
bounds | Bounds of the region. |
internalLinks | Links to other regions in same volume. |
boundPlanes | Planes that form the boundaries of the region. |
- Returns
- The created NavRegionData.
◆ SetExternalLinks()
void Infohazard.HyperNav.NavRegionData.SetExternalLinks |
( |
NavExternalLinkData[] |
externalConnections | ) |
|
Update the ExternalLinks of the region.
- Parameters
-
externalConnections | The list of external links to use. |
◆ _boundPlanes
(Serialized) The planes that form the boundaries of this region, to check if a point is inside or not.
◆ _bounds
Bounds Infohazard.HyperNav.NavRegionData._bounds |
|
private |
(Serialized) The bounds of the region in local space of the volume.
◆ _externalLinks
(Serialized) The links between this region and regions in other volumes.
◆ _id
int Infohazard.HyperNav.NavRegionData._id |
|
private |
(Serialized) The ID of the region.
◆ _indices
int [] Infohazard.HyperNav.NavRegionData._indices |
|
private |
(Serialized) The indices of the region's triangle vertices in the volume's vertices array.
◆ _internalLinks
(Serialized) The links between this region and other regions in the same volume.
◆ BoundPlanes
The planes that form the boundaries of this region, to check if a point is inside or not.
◆ Bounds
Bounds Infohazard.HyperNav.NavRegionData.Bounds |
|
get |
The bounds of the region in local space of the volume.
◆ ExternalLinks
The links between this region and regions in other volumes.
◆ ID
int Infohazard.HyperNav.NavRegionData.ID |
|
get |
◆ Indices
IReadOnlyList<int> Infohazard.HyperNav.NavRegionData.Indices |
|
get |
The indices of the region's triangle vertices in the volume's vertices array.
◆ InternalLinks
The links between this region and other regions in the same volume.
The documentation for this class was generated from the following file: