The baked data of a NavVolume, saved as an asset.
More...
The baked data of a NavVolume, saved as an asset.
◆ Clear()
void Infohazard.HyperNav.NavVolumeData.Clear |
( |
| ) |
|
◆ MarkExternalLinksLocalSpace()
void Infohazard.HyperNav.NavVolumeData.MarkExternalLinksLocalSpace |
( |
| ) |
|
After updating external links, mark them as being in local space.
◆ Populate()
void Infohazard.HyperNav.NavVolumeData.Populate |
( |
Vector3[] |
vertices, |
|
|
NavRegionData[] |
regions, |
|
|
int[] |
blockingTriangleIndices |
|
) |
| |
Populate the properties of this NavVolumeData.
- Parameters
-
vertices | Vertex positions of the volume's regions. |
regions | Regions of the volume. |
blockingTriangleIndices | Indices of triangles that define impassible space. |
◆ ToInternalData()
Convert this NavVolumeData to the native format so that it can be used by jobs.
- Parameters
-
volume | Volume that owns this data. |
data | Created native data. |
pointers | Created data structure references (must be kept in order to deallocate). |
◆ _blockingTriangleIndices
int [] Infohazard.HyperNav.NavVolumeData._blockingTriangleIndices |
|
private |
(Serialized) The vertex indices of triangles that define impassible space in the volume.
◆ _externalLinksAreLocalSpace
bool Infohazard.HyperNav.NavVolumeData._externalLinksAreLocalSpace |
|
private |
(Serialized) Whether the external links are in local space (false = world space).
◆ _regions
(Serialized) The regions of the volume.
◆ _vertices
Vector3 [] Infohazard.HyperNav.NavVolumeData._vertices |
|
private |
(Serialized) The vertex positions of all of the volume's regions, in local space.
◆ BlockingTriangleIndices
IReadOnlyList<int> Infohazard.HyperNav.NavVolumeData.BlockingTriangleIndices |
|
get |
The vertex indices of triangles that define impassible space in the volume.
◆ ExternalLinksAreLocalSpace
bool Infohazard.HyperNav.NavVolumeData.ExternalLinksAreLocalSpace |
|
get |
Whether the external links are in local space (false = world space).
◆ Regions
IReadOnlyList<NavRegionData> Infohazard.HyperNav.NavVolumeData.Regions |
|
get |
The regions of the volume.
◆ Vertices
IReadOnlyList<Vector3> Infohazard.HyperNav.NavVolumeData.Vertices |
|
get |
The vertex positions of all of the volume's regions, in local space.
The documentation for this class was generated from the following file: