public DepthMetaData GetMetaData() { DepthMetaData depthMD = new DepthMetaData(); GetMetaData(depthMD); return(depthMD); }
public void GetMetaData(DepthMetaData depthMD) { using (IMarshaler marsh = depthMD.GetMarshaler(true)) { OpenNIImporter.xnGetDepthMetaData(this.InternalObject, marsh.Native); } }
private static IMarshaler MarshalInner(DepthMetaData obj, bool marshalOut) { IMarshaler inner = ((MapMetaData)obj).GetMarshaler(marshalOut); obj.depth.pMap = inner.Native; return(inner); }
public void SetData(DepthMetaData depthMD) { SetData(depthMD, depthMD.FrameID, depthMD.Timestamp); }
public void SetData(DepthMetaData depthMD, UInt32 frameID, UInt64 timestamp) { SetData(frameID, timestamp, depthMD.DataSize, depthMD.DepthMapPtr); }
public DepthMetaDataMarshaler(DepthMetaData obj, bool marshalOut) : base(obj.depth, marshalOut, MarshalInner(obj, marshalOut)) { }