Class RasterizationMesh

Public

Represents a mesh which will be rasterized.

The vertices will be multiplied with the matrix when rasterizing it to voxels. The vertices and triangles array may be used in multiple instances, it is not changed when voxelizing.

See

SceneMesh

A* Pro Feature:

This is an A* Pathfinding Project Pro feature only. This function/class/variable might not exist in the Free version of the A* Pathfinding Project or the functionality might be limited.
The Pro version can be bought here

Public Methods

Pool ()

Pool the vertices and triangles arrays if the pool field is true.

Public
RasterizationMesh ()
Public
RasterizationMesh (vertices, triangles, bounds)
Public
RasterizationMesh (vertices, triangles, bounds, matrix)
Public
RecalculateBounds ()

Recalculate the bounds based on vertices and matrix.

Public

Public Variables

area
Public
bounds

World bounds of the mesh.

Public
matrix
Public
numTriangles

Number of triangles in the triangles array.

Public
numVertices

Number of vertices in the vertices array.

Public
original

Source of the mesh.

Public
pool

If true, the vertex and triangle arrays will be pooled after they have been used.

Public
triangles
Public
vertices
Public