unreal.EquirectProps

class unreal.EquirectProps(left_uv_rect: Box2D = Ellipsis, right_uv_rect: Box2D = Ellipsis, left_scale: Vector2D = Ellipsis, right_scale: Vector2D = Ellipsis, left_bias: Vector2D = Ellipsis, right_bias: Vector2D = Ellipsis, radius: float = 0.0)

Bases: StructBase

Properties for equirect layers

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)