文档

Unity Engine

Unity Engine

TryGetLeftEyePosition(out Vector3)

Gets the Vector3 that describes the position of the left eye.
阅读时间1 分钟最后更新于 11 天前

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule

TryGetLeftEyePosition(Vector3)

public bool TryGetLeftEyePosition(out Vector3 position)

Parameters

position

A Vector3 struct that is filled in with the left eye position.

Returns

Type

Description

booltrue if eyes can be queried for the left eye position; otherwise false.