Click or drag to resize

PolygonOffsetAsLineSegments Method (Single, Vector3)

Offsets a polygon as separate line segments on a given plane

Namespace:  BrydenWoodUnity.GeometryManipulation
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public Vector3[] OffsetAsLineSegments(
	float distance,
	Vector3 normal
)

Parameters

distance
Type: SystemSingle
The distance for the offset
normal
Type: Vector3
The normal of the plane on which the offset will take place

Return Value

Type: Vector3
List of point (two for each line segment)
See Also