C# Класс 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.
Наследование: UnityEngine.MonoBehaviour
Показать файл Открыть проект

Открытые методы

Метод Описание
SetSizeRatio ( float ratio ) : void

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

Приватные методы

Метод Описание
Start ( ) : void
Update ( ) : void

Описание методов

SetSizeRatio() публичный Метод

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
Результат void