ドキュメント

Unity Engine

Unity Engine

Position

The position associated with the generated mesh relative to the session origin.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public readonly Vector3 Position { get; }

Remarks

This value will be zero unless the MeshGenerationOptions.ConsumeTransform flag was provided to XRMeshSubsystem.GenerateMeshAsync.
Additional Resources: XRMeshSubsystem.GenerateMeshAsync