You are here: Start » AVL.NET » Invoke.CreateSegment3D
Produces a segment in 3D of given parameters.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void CreateSegment3D ( Avl.Point3D inPoint3D, float inPointAnchor, Avl.Vector3D inDirectionVector, float inLength, out Avl.Segment3D outSegment3D )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inPoint3D | Avl.Point3D | A point on the created segment. | ||
![]()  | inPointAnchor | float | <0.0f, 1.0f> | Anchor point, 0 means the beginning, 1 means the end of the segment. | |
![]()  | inDirectionVector | Avl.Vector3D | Desired direction of the segment. | ||
![]()  | inLength | float | Desired length of the segment in pixels. | ||
![]()  | outSegment3D | Avl.Segment3D | The resulting segment. | 


