ArSensorManager constructor
ArSensorManager({
- AttitudeFilter? attitudeFilter,
- HeadingFilter? headingFilter,
- LocationFilter? locationFilter,
- bool smoothAttitude = true,
- bool smoothLocation = true,
Pass a null filter to use the raw sensor values.
Implementation
ArSensorManager({
AttitudeFilter? attitudeFilter,
HeadingFilter? headingFilter,
LocationFilter? locationFilter,
bool smoothAttitude = true,
bool smoothLocation = true,
}) : _attitudeFilter =
smoothAttitude ? (attitudeFilter ?? AttitudeFilter()) : null,
_headingFilter =
smoothAttitude ? (headingFilter ?? HeadingFilter()) : null,
_locationFilter =
smoothLocation ? (locationFilter ?? LocationFilter()) : null;