C# 클래스 GvrMathHelpers, OfficeVR

Helper functions to perform common math operations for Gvr.
파일 보기 프로젝트 열기: Polidea/OfficeVR 1 사용 예제들

공개 메소드들

메소드 설명
GetIntersectionPosition ( Camera, cam, RaycastResult, raycastResult ) : Vector3,
GetViewportCenter ( ) : Vector2,
NormalizedCartesianToSpherical ( Vector3, cartCoords ) : Vector2,

메소드 상세

GetIntersectionPosition() 공개 정적인 메소드

public static GetIntersectionPosition ( Camera, cam, RaycastResult, raycastResult ) : Vector3,
cam Camera,
raycastResult RaycastResult,
리턴 Vector3,

GetViewportCenter() 공개 정적인 메소드

public static GetViewportCenter ( ) : Vector2,
리턴 Vector2,

NormalizedCartesianToSpherical() 공개 정적인 메소드

public static NormalizedCartesianToSpherical ( Vector3, cartCoords ) : Vector2,
cartCoords Vector3,
리턴 Vector2,