Spatial Reality Display View Space Scaling

You can change the scale between the Spatial Reality Display View Space in Unity and the real world.

Most asset sizes in Unity are actual sizes. That is, most human character models are approximately 1.5-2.0m, tree models are several meters, and buildings are tens of meters. However, the actual Spatial Reality Display size is 0.4x0.2x0.2m at most. Changing the scale of Unity's Spatial Reality Display View Space and the real world, this is View Space Scaling, allows you to display models of any size in Spatial Reality Display without changing the size of models to be displayed.

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

Just change SRD View Space Scale in SRDManager component. You can see that the primitives(a cube, a sphere and a cylinder) are displayed in GameView without changing their scale. Also, the blue GIZMO box that describes the Spatial Reality Display view space is scaling with SRD View Space Scale.


The scale of SRDisplayManager GameObject is overridden by SRD View Space Scale. Even if you change the scale of SRDisplayManager GameObject, its scale will be SRD View Space Scale in runtime.

If you want to automatically resize your model according to the SRD View Space Scale, you can use the SRDViewSpaceScaleFollower component.

The GameObjects with the SRDViewSpaceScaleFollower component will automatically resize when the SRD View Space Scale changes. If Absolute Follow is enabled in SRDViewSpaceScaleFollower, the GameObject will always be the same scale as SRD View Space Scale.