snap method
void
snap()
inherited
Use this to immediately "snap" the camera to where it should be right now. This bypasses any currently smooth transitions and might be janky, but can be used to setup after a new world transition for example.
Implementation
void snap() {
if (_targetCameraDelta != null && _currentCameraDelta != null) {
_currentCameraDelta!.setFrom(_targetCameraDelta!);
}
_currentRelativeOffset.setFrom(_targetRelativeOffset);
update(0);
}