mPhysics - A .NET Wrapper for Ageia's PhysX SDK

Segment.SetOriginDirection Method 

 [This is preliminary documentation and subject to change.]

Set this segment using the given start point and length vector.

[Visual Basic]
Public Sub SetOriginDirection( _ 
   ByVal Vector3 As Vector3, _ 
   ByVal Vector3 As Vector3 _ 
)
[C#]
public void SetOriginDirection(
   Vector3 Vector3,
   Vector3 Vector3
);
[C++]
public: void SetOriginDirection(
   Vector3 Vector3,
   Vector3 Vector3
);
[JScript]
public function SetOriginDirection(
   Vector3 Vector3,
   Vector3 Vector3
);

See Also

Segment Structure | mPhysics.Foundation Namespace