Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

OpenXRSpatialComponentPlaneAlignmentList๏ƒ

Experimental: This class may be changed or removed in future versions.

Inherits: OpenXRSpatialComponentData < RefCounted < Object

Object for storing the queries plane alignment result data.

Description๏ƒ

Object for storing the queries plane alignment result data when calling OpenXRSpatialEntityExtension.query_snapshot().

Methods๏ƒ

PlaneAlignment

get_plane_alignment(index: int) const


Enumerations๏ƒ

enum PlaneAlignment: ๐Ÿ”—

PlaneAlignment PLANE_ALIGNMENT_HORIZONTAL_UPWARD = 0

Plane is facing upward.

PlaneAlignment PLANE_ALIGNMENT_HORIZONTAL_DOWNWARD = 1

Plane is facing downwards.

PlaneAlignment PLANE_ALIGNMENT_VERTICAL = 2

Plane is vertically aligned.

PlaneAlignment PLANE_ALIGNMENT_ARBITRARY = 3

Plane has an arbitrary alignment.


Method Descriptions๏ƒ

PlaneAlignment get_plane_alignment(index: int) const ๐Ÿ”—

Returns the plane alignment for the parent entity at this index.