MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / ComputeDistortion

Method ComputeDistortion

headers/openvr_api.cs:2238–2242  ·  view source on GitHub ↗
(EVREye eEye,float fU,float fV,ref DistortionCoordinates_t pDistortionCoordinates)

Source from the content-addressed store, hash-verified

2236 FnTable.GetProjectionRaw(eEye,ref pfLeft,ref pfRight,ref pfTop,ref pfBottom);
2237 }
2238 public bool ComputeDistortion(EVREye eEye,float fU,float fV,ref DistortionCoordinates_t pDistortionCoordinates)
2239 {
2240 bool result = FnTable.ComputeDistortion(eEye,fU,fV,ref pDistortionCoordinates);
2241 return result;
2242 }
2243 public bool ComputeDistortionSet(EVREye eEye,EVRDistortionChannel eChannel,bool bAsNormalizedDeviceCoordinates,uint nNumCoordinates,ref DistortionCoordinate_t pInput,ref DistortionCoordinate_t pOutput)
2244 {
2245 bool result = FnTable.ComputeDistortionSet(eEye,eChannel,bAsNormalizedDeviceCoordinates,nNumCoordinates,ref pInput,ref pOutput);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected