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
Syntaxpublic Vector3[] OffsetAsLineSegments(
float distance,
Vector3 normal
)
Public Function OffsetAsLineSegments (
distance As Single,
normal As Vector3
) As Vector3()
public:
array<Vector3>^ OffsetAsLineSegments(
float distance,
Vector3 normal
)
member OffsetAsLineSegments :
distance : float32 *
normal : Vector3 -> Vector3[]
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:
Vector3List of point (two for each line segment)
See Also