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
파일 보기 프로젝트 열기: Microsoft/HoloToolkit-Unity

공개 메소드들

메소드 설명
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