XrFieldOfView class final
How wide one view sees, as four angles from its own forward axis in
radians: OpenXR's XrFovf. left and down are negative for a view
that sees past its axis that way, as they are for every headset.
Constructors
- XrFieldOfView({required double left, required double right, required double up, required double down})
-
The four angles, in radians.
const
Properties
- down → double
-
Radians from the axis to the bottom edge, negative below it.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- left → double
-
Radians from the axis to the left edge, negative to its left.
final
- right → double
-
Radians from the axis to the right edge.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- up → double
-
Radians from the axis to the top edge.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
projection(
{double near = 0.05, double far = 500.0}) → OffAxisProjection -
The asymmetric frustum these angles make, between
nearandfarmeters. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited