Convert to perspective projection while keeping the projection result of current frame.
Signature:
transformToPerspective(): void;
Returns:
void