You are here: Start » AVL.NET » AVL.CreateSegment3D
Produces a segment in 3D of given parameters.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CreateSegment3D ( AvlNet.Point3D inPoint3D, float inPointAnchor, AvlNet.Vector3D inDirectionVector, float inLength, out AvlNet.Segment3D outSegment3D )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoint3D | AvlNet.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 | AvlNet.Vector3D | Desired direction of the segment. | |||
inLength | float | Desired length of the segment in pixels. | |||
outSegment3D | AvlNet.Segment3D | The resulting segment. |