UxrCompass.SetTarget Method (Vector3, UxrCompassDisplayMode, Single)
Sets the current target.
Namespace: UltimateXR.Guides
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public void SetTarget(
Vector3 position,
UxrCompassDisplayMode displayMode = UxrCompassDisplayMode.OnlyCompass,
float iconScale = 1f
)
Parameters
- position
- Type: Vector3
The target position - displayMode (Optional)
- Type: UltimateXR.Guides.UxrCompassDisplayMode
The display mode - iconScale (Optional)
- Type: System.Single
The icon size multiplier
See Also
Reference
UxrCompass Class
SetTarget Overload
UltimateXR.Guides Namespace