API reference
API reference
Select your platform
No SDKs available
No versions available

LeftRight

LeftRight

LeftRight
Side-by-side stereo mode.
Displays the left half of the texture in the left eye, and the right half in the right eye. This is commonly used for side-by-side stereo videos and images where the left and right eye views are placed horizontally adjacent to each other in a single texture.

Properties

NameSummary
name
val name: String
ordinal
val ordinal: Int
view2OffsetX
val view2OffsetX: Float

X offset for the second view (right eye)
view2OffsetY
val view2OffsetY: Float

Y offset for the second view (right eye)
viewScaleX
val viewScaleX: Float

X scale factor for both views
viewScaleY
val viewScaleY: Float

Y scale factor for both views
Did you find this page helpful?
Thumbs up icon
Thumbs down icon