MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / getScreenHeight

Method getScreenHeight

physx/samples/samplebase/SampleCamera.h:72–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 PX_FORCE_INLINE PxReal getFarPlane() const { return mFarPlane; }
71 PX_FORCE_INLINE PxU32 getScreenWidth() const { return mViewport.mClientWidth; }
72 PX_FORCE_INLINE PxU32 getScreenHeight() const { return mViewport.mClientHeight; }
73
74 PX_FORCE_INLINE void setFOV(PxReal fov) { mFOV = fov; mDirtyProj = true; }
75 PX_FORCE_INLINE void setNearPlane(PxReal d) { mNearPlane = d; mDirtyProj = true; }

Callers 3

customizeRenderMethod · 0.80
displayFPSMethod · 0.80
customizeRenderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected