Vr Config
data class VrConfig(vrContentType: VrContentType?, isStereo: Boolean, startPosition: Double, viewingDirectionChangeEventInterval: Double, viewingDirectionChangeThreshold: Double, viewingWindow: VrViewingWindowConfig) : Parcelable
Content copied to clipboard
Configures VR functionality of a Source.
Constructors
VrConfig
Link copied to clipboard
fun VrConfig(vrContentType: VrContentType? = VrContentType.None, isStereo: Boolean = false, startPosition: Double = 0.0, viewingDirectionChangeEventInterval: Double = 0.25, viewingDirectionChangeThreshold: Double = 5.0, viewingWindow: VrViewingWindowConfig = VrViewingWindowConfig())
Content copied to clipboard
Properties
startPosition
Link copied to clipboard
viewingDirectionChangeEventInterval
Link copied to clipboard
@SerializedName(value = viewingDirectionChangeEventInterval )
Content copied to clipboard
The minimal interval between consecutive PlayerEvent.VrViewingDirectionChange events in seconds.
viewingDirectionChangeThreshold
Link copied to clipboard
@SerializedName(value = viewingDirectionChangeThreshold )
Content copied to clipboard
The threshold in degrees that the viewport can change before the PlayerEvent.VrViewingDirectionChange event is emitted.
viewingWindow
Link copied to clipboard
@SerializedName(value = viewingWindow )
Content copied to clipboard
vrContentType
Link copied to clipboard
The VrContentType of the VR/360 content.