PadPlay

API reference

Every PadPlay type, member and setting on one page. Filter by name or meaning.

PadPlayGyroCamera

ScreenPointToRay

A world ray through the tap. For a PadPlay touch it uses the camera of the frame the player was looking at, so it stays right while the phone turns fast (the last 256 frames are kept).

Ray ScreenPointToRay(PointerEventData eventData)