Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

MeshGenerationResult.Position

public Vector3 Position;

Description

The position associated with the generated mesh relative to the session origin.

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

Additional resources: XRMeshSubsystem.GenerateMeshAsync