collapse_all

expand_all

collapse_allexpand_alldropdowndropdownHovercopycodecopycodeHighlight

collapse_all Collapse AllExpand All     dropdown Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

[TCheckBoxFormControlObj]C#

[TCheckBoxFormControlObj]Visual Basic

[TCheckBoxFormControlObj]
Visual C++
DPSF API Documentation
MagnetLine
.
.
::
..SetDirection Method
gradient

Sets the Direction of the Line by specifying 2 points in 3D space that are on the Line.

NOTE: The 2 points cannot be the same.

Namespace: DPSF

Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0

collapse_allSyntax

C#

public void SetDirection(

 Vector3 sFirstPointOnTheLine,

 Vector3 sSecondPointOnTheLine

)

Visual Basic

Public Sub SetDirection (

 sFirstPointOnTheLine As Vector3,

 sSecondPointOnTheLine As Vector3

)

Visual C++

public:

void SetDirection(

 Vector3 sFirstPointOnTheLine,

 Vector3 sSecondPointOnTheLine

)

Parameters

sFirstPointOnTheLine

Type: Vector3

The first point that falls on the Line

sSecondPointOnTheLine

Type: Vector3

The second point that falls on the Line

collapse_allSee Also

MagnetLine Class

MagnetLine Members

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com