C# Class HoloToolkit.Unity.FixedAngularSize

Causes a Hologram to maintain a fixed angular size, which is to say it occupies the same pixels in the view regardless of its distance from the camera.
Inheritance: UnityEngine.MonoBehaviour
Mostrar archivo Open project: Microsoft/HoloToolkit-Unity

Public Methods

Method Description
SetSizeRatio ( float ratio ) : void

Manually update the OverrideSizeRatio during runtime or through UnityEvents in the editor

Private Methods

Method Description
Start ( ) : void
Update ( ) : void

Method Details

SetSizeRatio() public method

Manually update the OverrideSizeRatio during runtime or through UnityEvents in the editor
public SetSizeRatio ( float ratio ) : void
ratio float 0 - 1 : Use 0 for linear scaling
return void