DirectionalIndicator.ViewOffset Field
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The offset from center to place the indicator. If frame of reference is the camera, then the object will be this distance from center of screen
C++
public: float ViewOffset;
[UnityEngine.Min(0)]
[UnityEngine.Tooltip("The offset from center to place the indicator. If frame of reference is the camera, then the object will be this distance from center of screen")]
public float ViewOffset;
[<UnityEngine.Min(0)>]
[<UnityEngine.Tooltip("The offset from center to place the indicator. If frame of reference is the camera, then the object will be this distance from center of screen")>]
val mutable ViewOffset : single
Public ViewOffset As Single
- Attributes
-
UnityEngine.MinAttribute UnityEngine.TooltipAttribute
Product | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4 |