OpenXRSpatialComponentPlaneAlignmentList
实验性: This class may be changed or removed in future versions.
继承: OpenXRSpatialComponentData < RefCounted < Object
Object for storing the queries plane alignment result data.
描述
Object for storing the queries plane alignment result data when calling OpenXRSpatialEntityExtension.query_snapshot().
方法
get_plane_alignment(index: int) const |
枚举
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.
方法说明
PlaneAlignment get_plane_alignment(index: int) const 🔗
Returns the plane alignment for the parent entity at this index.