OpenXRSpatialComponentPlaneAlignmentList
Inherits: OpenXRSpatialComponentData < RefCounted < Object
Description
Section titled “Description”Object for storing the queries plane alignment result data.
Object for storing the queries plane alignment result data when calling OpenXRSpatialEntityExtension.query_snapshot().
Methods
Section titled “Methods”| Returns | Method |
|---|---|
| PlaneAlignment | get_plane_alignment(index: int) const |
Enumerations
Section titled “Enumerations”PlaneAlignment
enum PlaneAlignment
PLANE_ALIGNMENT_HORIZONTAL_UPWARD = 0
Plane is facing upward.
PLANE_ALIGNMENT_HORIZONTAL_DOWNWARD = 1
Plane is facing downwards.
PLANE_ALIGNMENT_VERTICAL = 2
Plane is vertically aligned.
PLANE_ALIGNMENT_ARBITRARY = 3
Plane has an arbitrary alignment.
Method descriptions
Section titled “Method descriptions”get_plane_alignment
PlaneAlignment get_plane_alignment(index: int) const
Returns the plane alignment for the parent entity at this index.
