public override void OnGestureSetup(ref PXCMGesture.ProfileInfo pinfo)
QueryCapture().device.QueryPropertyAsUID(PXCMCapture.Device.Property.PROPERTY_PROJECTION_SERIALIZABLE, out uid);
PXCMMetadata metadata = (PXCMMetadata)QuerySession().DynamicCast(PXCMMetadata.CUID);
metadata.CreateSerializable(PXCMMetadata.CUID, uid, out projection);
projectionCasted = (PXCMProjection)projection;
I am trying to instantiate a PXCMProjection object using the above code. It returns null for the projectionCasted.Please check is it the right way to do it? I am not sure as I have no knowledge of C++. It's been two days since I am totally stuck, please reply as soon as possible.
And I am trying to simulate the mouse movement in my application, which I did but it was not at all smooth. So, if you have any suggestion please post here.