playerState property
Flix3DPlayerState
get
playerState
Current player position, camera angles, and objective state.
Implementation
Flix3DPlayerState get playerState {
_ensureNotDisposed();
return Flix3DPlayerState(
x: _playerX(_handle),
height: _playerHeight(_handle),
z: _playerZ(_handle),
yaw: _playerYaw(_handle),
pitch: _playerPitch(_handle),
collected: _collectedCount(_handle),
collectibleCount: _collectibleCount(_handle),
completed: _isComplete(_handle) != 0,
grounded: _isGrounded(_handle) != 0,
);
}