unreal.MagicLeapPlaneResult
¶
- class unreal.MagicLeapPlaneResult(plane_position=[0.0, 0.0, 0.0], plane_orientation=[0.0, 0.0, 0.0], content_orientation=[0.0, 0.0, 0.0], plane_dimensions=[0.0, 0.0], plane_flags=[], id=[], inner_id=[])¶
Bases:
unreal.StructBase
Represents a plane returned from the ML-API.
C++ Source:
Plugin: MagicLeap
Module: MagicLeapPlanes
File: MagicLeapPlanesTypes.h
Editor Properties: (see get_editor_property/set_editor_property)
content_orientation
(Rotator): [Read-Write] Orientation of the content with its up-vector orthogonal to the plane.id
(Guid): [Read-Write] ID of the plane result. This ID is persistent across queriesinner_id
(Guid): [Read-Write] ID of the inner plane. This ID is persistent across queriesplane_dimensions
(Vector2D): [Read-Write] Width and height of the plane (in Unreal units).plane_flags
(Array(MagicLeapPlaneQueryFlags)): [Read-Write] The flags which describe this plane. TODO: Should be a TSet but that is misbehaving in the editor.plane_orientation
(Rotator): [Read-Write] Orientation of the plane.plane_position
(Vector): [Read-Write] Position of the center of the plane in world coordinates.
- property content_orientation¶
[Read-Write] Orientation of the content with its up-vector orthogonal to the plane.
- Type
(Rotator)
- property inner_id¶
[Read-Only] ID of the inner plane. This ID is persistent across queries
- Type
(Guid)
- property plane_dimensions¶
[Read-Write] Width and height of the plane (in Unreal units).
- Type
(Vector2D)
- property plane_flags¶
Should be a TSet but that is misbehaving in the editor.
- Type
- Type
[Read-Write] The flags which describe this plane. TODO