Namespace ProjectDawn.Geometry3D
Classes
MeshExtensions
MeshSurfaceGeneration
ShapeGizmos
Helper class for drawing shapes using gizmos.
ShapeUtility
Helper class for finding intersection between 2d geometry shapes.
VertexAttributeUtility
Vertex attribute utility functions.
Structs
Box
A box shape.
Capsule
A capsule is a sphere that is extended across the line.
Line
Line segment that has start and end points.
MeshSurface
Mesh data structure. Used for modifying mesh data and reading/writing back to UnityEngine.Mesh.
Plane
A plane represented by a normal vector and a distance along the normal from the origin.
Ray
Parametric line that is specified by center and direction.
Sphere
A sphere is a shape consisting of all points in a plane that are at a given distance from a given point, the centre.
SurfaceLineIntersection
Intersection line of the surface.
SurfacePointIntersection
Intersection point of the surface.
Triangle
A triangle is a polygon with three edges and three vertices. It is one of the basic shapes in geometry. A triangle with vertices A, B, and C is denoted.
TriangularSurface<T>
VertexData
An managed, resizable vertex data. Stores generic vertex information in interleaved array. As example if structure is created with Position+Normal attributes as result data will be stored in memory as follows: position0/normal0/position1/normal1...
Interfaces
ITransformFloat3
Enums
VertexAttributes
Vertex attributes enum flags. Same as UnityEngine.Rendering.VertexAttribute just as flags.