SONY

menu
Search button in the site

Open the search area of the siteく

SRDisplayXRManager Prefab

SRDisplayXRManager Prefab is a core prefab of the UnityPugin.

Unity(HDRP) Spatial Reality Display(SR Display) applications needs SRDisplayXRManager Prefab basically.

  1. Setup your SR Display, if not, see: Setup SR DisplaySetup SR Display Runtime
  2. Set up your Unity project installed SRDisplay UnityPlugin, if not, see: Set up for Unity, Create your simple HDRP app "Hello cube!"

SRDisplayXRManager is a core component that handles SR Display Runtime. And it has fundamental parameters for SR Display that application developers should set.

SRDisplayXRManager must be only one in the scene at a time.

Is SR Rendering Active

You can turn on and off SR Rendering with the flag. When this is false, the image rendered from the camera will be displayed.

Is Spatial Clipping Active

You can turn on and off Spatial Clipping with the flag. See for the details: Spatial Clipping

Is Crosstalk Correction Active

You can turn on and off Crosstalk Correction with the flag. See for the details: Crosstalk Correction

SRD View Space Scale

You can change SR Display View Space Scale with the value. See for the details: View Space Scaling

See Manual UnityEvent for the way to use UnityEvent

On SRD View Space Scale Changed Event

You can set your callback that is called with SRDisplay View Space Scale value when the value is changed.

On Face Track State Event

You can set your callback that is called with the flag that shows face recognition is successful or not in this frame.