Open the search area of the siteく
Was this page helpful to you?
Thank you for your help.
You can change the scale between the SR 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 SR Display size is 0.4x0.2x0.2m at most.
Changing the scale of Unity's SR Display View Space and the real world, this is View Space Scaling,
allows you to display models of any size in SR Display without changing the size of models to be displayed.
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 SR 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.