public static ReturnStatus CreateShapeInstance(ref INTERACTION_SCENE scene, ref INTERACTION_SHAPE_DESCRIPTION_HANDLE handle, ref INTERACTION_TRANSFORM transform, ref INTERACTION_CREATE_SHAPE_INFO shapeInfo, out INTERACTION_SHAPE_INSTANCE_HANDLE instance) { var rs = LeapIECreateShapeInstance(ref scene, ref handle, ref transform, ref shapeInfo, out instance); Logger.HandleReturnStatus(scene, "Create Shap eInstance", LogLevel.CreateDestroy, rs); return(rs); }
private static extern ReturnStatus LeapIECreateShapeInstance(ref INTERACTION_SCENE scene, ref INTERACTION_SHAPE_DESCRIPTION_HANDLE handle, ref INTERACTION_TRANSFORM transform, ref INTERACTION_CREATE_SHAPE_INFO shapeInfo, out INTERACTION_SHAPE_INSTANCE_HANDLE instance);