unreal.StereoLayerShapeEquirect

class unreal.StereoLayerShapeEquirect(outer: Object | None = None, name: Name | str = 'None')

Bases: StereoLayerShape

Stereo Layer Shape Equirect

C++ Source:

  • Module: Engine

  • File: StereoLayerComponent.h

Editor Properties: (see get_editor_property/set_editor_property)

  • left_bias (Vector2D): [Read-Write] Left eye’s texture coordinate bias after mapping to 2D.

  • left_scale (Vector2D): [Read-Write] Left eye’s texture coordinate scale after mapping to 2D.

  • left_uv_rect (Box2D): [Read-Write] Left source texture UVRect, specifying portion of input texture corresponding to left eye.

  • radius (float): [Read-Write] Sphere radius. As of UE 5.3, equirect layers are supported only by the Oculus OpenXR runtime and only with a radius of 0 (infinite sphere).

  • right_bias (Vector2D): [Read-Write] Right eye’s texture coordinate bias after mapping to 2D.

  • right_scale (Vector2D): [Read-Write] Right eye’s texture coordinate scale after mapping to 2D.

  • right_uv_rect (Box2D): [Read-Write] Right source texture UVRect, specifying portion of input texture corresponding to right eye.

property left_bias: Vector2D

[Read-Only] Left eye’s texture coordinate bias after mapping to 2D.

Type:

(Vector2D)

property left_scale: Vector2D

[Read-Only] Left eye’s texture coordinate scale after mapping to 2D.

Type:

(Vector2D)

property left_uv_rect: Box2D

[Read-Only] Left source texture UVRect, specifying portion of input texture corresponding to left eye.

Type:

(Box2D)

property radius: float

[Read-Only] Sphere radius. As of UE 5.3, equirect layers are supported only by the Oculus OpenXR runtime and only with a radius of 0 (infinite sphere).

Type:

(float)

property right_bias: Vector2D

[Read-Only] Right eye’s texture coordinate bias after mapping to 2D.

Type:

(Vector2D)

property right_scale: Vector2D

[Read-Only] Right eye’s texture coordinate scale after mapping to 2D.

Type:

(Vector2D)

property right_uv_rect: Box2D

[Read-Only] Right source texture UVRect, specifying portion of input texture corresponding to right eye.

Type:

(Box2D)

set_equirect_props(scale_biases) None

Set Equirect layer properties: UVRect, Scale, and Bias

Parameters:

scale_biases (EquirectProps) –