Dungeon Architect
17.0.0
|
A class that filters geometry and applies an Area to it. More...
Public Member Functions | |
Area[] | ToArray () |
Takes the mesh query, runs it, and outputs the result as an array of Area. More... | |
AreaGenerator | MarkAboveSlope (float angle, Area area) |
Marks all triangles above a specified angle with a sepcified area ID. More... | |
AreaGenerator | MarkBelowSlope (float angle, Area area) |
Marks all triangles below a specified angle with a sepcified area ID. More... | |
AreaGenerator | MarkAtSlope (float angle, float range, Area area) |
Marks all triangles around a specified angle with a sepcified area ID. More... | |
AreaGenerator | MarkBelowHeight (float y, Area area) |
Marks all triangles below a specified height with a sepcified area ID. More... | |
AreaGenerator | MarkAtHeight (float y, float radius, Area area) |
Marks all triangles around a specified height with a sepcified area ID. More... | |
AreaGenerator | MarkAboveHeight (float y, Area area) |
Marks all triangles above a specified height with a sepcified area ID. More... | |
AreaGenerator | MarkCustomFilter (Func< Triangle3, bool > func, Area area) |
Marks all triangles that meet a specified condition with a specified area ID. More... | |
Static Public Member Functions | |
static AreaGenerator | From (IEnumerable< Triangle3 > tris, Area area) |
Create instance from the specified triangles with specified area. More... | |
static AreaGenerator | From (IEnumerable< Triangle3 > tris, int triCount, Area area) |
Create instance from triCount(a integer) specified triangles with specified area More... | |
static AreaGenerator | From (Triangle3[] tris, Area area) |
Create instance from every specified triangles in array of tris with specified area. More... | |
static AreaGenerator | From (Triangle3[] tris, int triOffset, int triCount, Area area) |
Create instance from specified triangles in array of tris from tris[triOffset] to tris[triOffset+triCount] with specified area. More... | |
static AreaGenerator | From (Vector3[] verts, Area area) |
Create instance from the triangles created from points in verts with specified area More... | |
static AreaGenerator | From (Vector3[] verts, int vertOffset, int vertStride, int triCount, Area area) |
Create instance from the triangles created from points start from verts[0*vertStride+vertOffset] to verts[(triCount-1)*vertStride+vertOffset]with specified area More... | |
static AreaGenerator | From (float[] verts, Area area) |
Create instance from the triangles created from points in verts with specified area More... | |
static AreaGenerator | From (float[] verts, int floatOffset, int floatStride, int triCount, Area area) |
Create instance from the triangles created from points start from verts[0*vertStride+vertOffset] to verts[(triCount-1)*vertStride+vertOffset]with specified area. More... | |
static AreaGenerator | From (Vector3[] verts, int[] inds, Area area) |
Create instance from triangles created from points of verts which is created from array of index of vertices array with specified area More... | |
static AreaGenerator | From (Vector3[] verts, int[] inds, int vertOffset, int vertStride, int indexOffset, int triCount, Area area) |
Create instance from triangles created from points of verts which is created from array of index of vertices array with specified area More... | |
static AreaGenerator | From (float[] verts, int[] inds, Area area) |
Create instance from triangles created from points of verts which is created from array of index of vertices array with specified area More... | |
static AreaGenerator | From (float[] verts, int[] inds, int floatOffset, int floatStride, int indexOffset, int triCount, Area area) |
Create instance from triangles created from points of verts which is created from array of index of vertices array with specified area More... | |
A class that filters geometry and applies an Area to it.
Definition at line 22 of file AreaIdGenerator.cs.
|
static |
Create instance from the triangles created from points in verts with specified area
verts | An array of vertices. |
area | Area of Triangle. |
Definition at line 121 of file AreaIdGenerator.cs.
|
static |
Create instance from the triangles created from points start from verts[0*vertStride+vertOffset] to verts[(triCount-1)*vertStride+vertOffset]with specified area.
verts | An array of vertices. |
floatOffset | The index of the first float to be enumerated. |
floatStride | The distance between the start of two vertices. A value of 0 means the data is tightly packed. |
triCount | The number of triangles to enumerate. |
area | Area of Triangle. |
Definition at line 135 of file AreaIdGenerator.cs.
|
static |
Create instance from triangles created from points of verts which is created from array of index of vertices array with specified area
verts | An array of vertices. |
inds | An array of indices. |
area | Area of Triangle. |
Definition at line 175 of file AreaIdGenerator.cs.
|
static |
Create instance from triangles created from points of verts which is created from array of index of vertices array with specified area
verts | An array of vertices. |
inds | An array of indices. |
floatOffset | The index of the first float to be enumerated. |
floatStride | The distance between the start of two vertices. A value of 0 means the data is tightly packed. |
indexOffset | The index of the first index to be enumerated. |
triCount | The number of triangles to enumerate. |
area | Area of Triangle. |
Definition at line 191 of file AreaIdGenerator.cs.
|
static |
Create instance from the specified triangles with specified area.
tris | Collection of Triangles. |
area | Area of Triangle. |
Definition at line 49 of file AreaIdGenerator.cs.
|
static |
Create instance from triCount(a integer) specified triangles with specified area
tris | Collection of Triangles. |
triCount | The number of triangles to enumerate. |
area | Area of Triangle. |
Definition at line 61 of file AreaIdGenerator.cs.
|
static |
Create instance from every specified triangles in array of tris with specified area.
tris | An array of triangles. |
area | Area of Triangle. |
Definition at line 72 of file AreaIdGenerator.cs.
|
static |
Create instance from specified triangles in array of tris from tris[triOffset] to tris[triOffset+triCount] with specified area.
tris | An array of triangles. |
triOffset | Tri offset. |
triCount | Tri count. |
area | Area of Triangle. |
Definition at line 85 of file AreaIdGenerator.cs.
|
static |
Create instance from the triangles created from points in verts with specified area
verts | An array of Vectors3. |
area | Area of Triangle. |
Definition at line 96 of file AreaIdGenerator.cs.
|
static |
Create instance from the triangles created from points start from verts[0*vertStride+vertOffset] to verts[(triCount-1)*vertStride+vertOffset]with specified area
verts | An array of Vectors3. |
vertOffset | The index of the first Vectex to be enumerated. |
vertStride | The distance between the start of two triangles. A value of 0 means the data is tightly packed. |
triCount | The number of triangles to enumerate.. |
area | Area of Triangle. |
Definition at line 110 of file AreaIdGenerator.cs.
|
static |
Create instance from triangles created from points of verts which is created from array of index of vertices array with specified area
verts | An array of vertices. |
inds | An array of indices. |
area | Area of Triangle. |
Definition at line 147 of file AreaIdGenerator.cs.
|
static |
Create instance from triangles created from points of verts which is created from array of index of vertices array with specified area
verts | An array of vertices. |
inds | An array of indices. |
vertOffset | The index of the first vertex to be enumerated. |
vertStride | The distance between the start of two triangles. A value of 0 means the data is tightly packed. |
indexOffset | The index of the first index to be enumerated. |
triCount | The number of triangles to enumerate. |
area | Area of Triangle. |
Definition at line 163 of file AreaIdGenerator.cs.
AreaGenerator SharpNav.AreaGenerator.MarkAboveHeight | ( | float | y, |
Area | area | ||
) |
Marks all triangles above a specified height with a sepcified area ID.
y | The height threshold of a triangle. |
area | The area ID to set for triangles above the threshold. |
Definition at line 322 of file AreaIdGenerator.cs.
AreaGenerator SharpNav.AreaGenerator.MarkAboveSlope | ( | float | angle, |
Area | area | ||
) |
Marks all triangles above a specified angle with a sepcified area ID.
angle | The minimum angle in radians. |
area | The area ID to set for triangles above the slope. |
Definition at line 225 of file AreaIdGenerator.cs.
AreaGenerator SharpNav.AreaGenerator.MarkAtHeight | ( | float | y, |
float | radius, | ||
Area | area | ||
) |
Marks all triangles around a specified height with a sepcified area ID.
y | The height value. |
radius | The maximum allowed difference between the height and a triangle's height. |
area | The area ID to set for triangles around the height. |
Definition at line 311 of file AreaIdGenerator.cs.
AreaGenerator SharpNav.AreaGenerator.MarkAtSlope | ( | float | angle, |
float | range, | ||
Area | area | ||
) |
Marks all triangles around a specified angle with a sepcified area ID.
angle | The angle. |
range | The maximum allowed difference between the angle and a triangle's angle. |
area | The area ID to set for triangles around the slope. |
Definition at line 268 of file AreaIdGenerator.cs.
AreaGenerator SharpNav.AreaGenerator.MarkBelowHeight | ( | float | y, |
Area | area | ||
) |
Marks all triangles below a specified height with a sepcified area ID.
y | The height threshold of a triangle. |
area | The area ID to set for triangles below the threshold. |
Definition at line 289 of file AreaIdGenerator.cs.
AreaGenerator SharpNav.AreaGenerator.MarkBelowSlope | ( | float | angle, |
Area | area | ||
) |
Marks all triangles below a specified angle with a sepcified area ID.
angle | The maximum angle. |
area | The area ID to set for triangles below the slope. |
Definition at line 246 of file AreaIdGenerator.cs.
AreaGenerator SharpNav.AreaGenerator.MarkCustomFilter | ( | Func< Triangle3, bool > | func, |
Area | area | ||
) |
Marks all triangles that meet a specified condition with a specified area ID.
func | The condition to be tested on each triangle. |
area | The area ID to set for triangles that match the condition. |
Definition at line 343 of file AreaIdGenerator.cs.
Area [] SharpNav.AreaGenerator.ToArray | ( | ) |
Takes the mesh query, runs it, and outputs the result as an array of Area.
Definition at line 200 of file AreaIdGenerator.cs.