public BoundingBox3D GetPosition(int index) { BoundingBox3D pos = new BoundingBox3D(); int status = SafeNativeMethods.xnGetUserPosition(this.InternalObject, (uint)index, ref pos); WrapperUtils.ThrowOnError(status); return pos; }
public static extern XnStatus xnAddGesture(XnNodeHandle hInstance, string strGesture, ref BoundingBox3D pArea);
public static extern XnStatus xnSetUserPosition(XnNodeHandle hInstance, XnUInt32 nIndex, ref BoundingBox3D pPosition);
public void AddGesture(string gesture, BoundingBox3D area) { int status = SafeNativeMethods.xnAddGesture(InternalObject, gesture, ref area); WrapperUtils.ThrowOnError(status); }
public void SetPosition(int index, BoundingBox3D pos) { int status = SafeNativeMethods.xnSetUserPosition(this.InternalObject, (uint)index, ref pos); WrapperUtils.ThrowOnError(status); }