FisheyeProjection
A mapping used to map content generated using a fisheye lens.
This mapping type is typically used for dome surfaces.
Properties
allowContentOutside : int
Allow content outside the fisheye circle. When Field of view < 180 degrees, allows filling content into a larger portion of the canvas.
UserName: Content outside circle
contentMode : int
For realtime rendered content, the mapping can provide camera parameters in 3D mode. The engine must supply correctly distorted fisheye results.
Options: {0: ‘2D’, 1: ‘3D’}
UserName: Content mode
diagonalFov : float
Widest angle imaged across the diagonal, in degrees. Lenses are usually specified this way, so set it to match a lens and the horizontal field of view follows. Saturates where the fisheye type cannot image out to the corners.
fisheyeType : int
Type of fisheye projection mapping. Equidistant is the most common type, also known as ‘tru-theta’ or ‘f-theta’.
Options: {0: ‘Equidistant’, 1: ‘Equisolid’, 2: ‘Orthographic’, 3: ‘Stereographic’}
UserName: Fisheye type
fov : float
The horizontal field of view of the projection, in degrees. Rendering and derived properties use this as if clamped to what the fisheye type can represent (see maxFov()).
UserName: Horizontal field of view
fovRadiusRatio : float (Read-Only)
Radius the horizontal field of view reaches, as a fraction of the radius a 180 degree field of view would reach.
maxFov : float (Read-Only)
Widest horizontal field of view the current fisheye type can represent, in degrees.
pixelBorder : int
UV islands on screens are expanded by this many pixels to cover edge sampling artifacts such as black fringing.
Note that there must be an equivalent amount of empty space in the screen UV map to take advantage of this.
UserName: Border expansion