API reference
Every PadPlay type, member and setting on one page. Filter by name or meaning.
PadPlayView
Sends a camera or RenderTexture to phones as their own screen. PadPlay SDK only, not in Lite.
SourceCamera— The camera to send. The SDK creates its targetTexture, so the picture goes to the phone only. On URP, use a Base camera. SourceTexture wins when set.SourceTexture— A RenderTexture you draw, sent instead of a camera. The video size is the texture's size.PlayerSlot— Who gets it. -1 (AllPlayers) sends the same picture to everyone. It is encoded once while the players' connections are alike; a player whose Wi-Fi stays much slower gets a separate encoder (Max Encoders Per View).Width / Height— Video size with a camera, in px (16 or more). Not used with SourceTexture.FrameRate— Encoding fps cap. 0 = 60.MaxBitrateKbps— Bitrate cap in kbps. 0 = 2500. With Adaptive Video on, the host lowers it from here to suit the Wi-Fi.MatchPhoneAspect— Matches the width to the phone's aspect ratio (height stays). Only when sending to one player.UseAsTouchTarget— Makes this camera the player's touch target: tapping the picture presses the UI shown there.TouchCamera— The camera touches hit. With a RenderTexture, the camera that draws into it. Empty = Source Camera.GetPlayerView— The View shown to the player now (an extension method on the host).