BodyExtensions.GetVector Method (KinectEx)

Get a Vector3 (SharpDX / DirectX) object representing the vector between the joints of the specified BoneTypeEx value. Optionally allows for the bone to be inverted to achieve the desired orientation.

Namespace: KinectEx
Assembly: KinectEx (KinectEx.dll 0.4.0.0)
  • C#
  • VB
  • C++
  • F#
[ExtensionAttribute]
public static Vector3 GetVector(
	this IBody body, 
	BoneTypeEx boneType, 
	bool invert
)

Syntax for VB is not yet implemented.

Syntax for C++ is not yet implemented

[<ExtensionAttribute>]
static member GetVector : 
	body : IBody * 
	boneType : BoneTypeEx * 
	invert : bool -> Vector3

Parameters

body
Type: KinectEx.IBody
boneType
Type: KinectEx.BoneTypeEx
invert
Type: System.Boolean

Return Value

Type: SharpDX.Vector3
Supported in:

    
 Windows Desktop - .NET 4.5
    
 Windows Desktop - .NET 4.5 (without Kinect SDK)
    
 Windows 8.1 Store - WinRT
    
 Windows 8.1 Store - WinRT (without Kinect SDK)
    
 Windows Phone 8 - WinRT