PolygonOffsetAsLineSegments Method (Single) |
Offsets a polygon as separate line segments on the XZ plane
Namespace:
BrydenWoodUnity.GeometryManipulation
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxpublic Vector3[] OffsetAsLineSegments(
float distance
)
Public Function OffsetAsLineSegments (
distance As Single
) As Vector3()
public:
array<Vector3>^ OffsetAsLineSegments(
float distance
)
member OffsetAsLineSegments :
distance : float32 -> Vector3[]
Parameters
- distance
- Type: SystemSingle
The distance for the offset
Return Value
Type:
Vector3List of point (two for each line segment)
See Also