unreal.MagicLeapARPinState

class unreal.MagicLeapARPinState(confidence=0.0, valid_radius=0.0, rotation_error=0.0, translation_error=0.0, pin_type=MagicLeapARPinType.SINGLE_USER_MULTI_SESSION)

Bases: unreal.StructBase

Current state of a MagicLeapARPin

C++ Source:

  • Plugin: MagicLeapPassableWorld

  • Module: MagicLeapARPin

  • File: MagicLeapARPinTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • confidence (float): [Read-Write] A confidence value [0,1] representing the confidence in the error levels given below (within the valid radius).

  • pin_type (MagicLeapARPinType): [Read-Write] Pin Type

  • rotation_error (float): [Read-Write] Rotational error (in degrees).

  • translation_error (float): [Read-Write] Translation error (in centimeters).

  • valid_radius (float): [Read-Write] The radius (in centimeters) in which the confidence value is valid.

property confidence

[Read-Only] A confidence value [0,1] representing the confidence in the error levels given below (within the valid radius).

Type

(float)

property pin_type

[Read-Only] Pin Type

Type

(MagicLeapARPinType)

property rotation_error

[Read-Only] Rotational error (in degrees).

Type

(float)

state_to_string()str

Get ARPin State to String

Returns

Return type

str

property translation_error

[Read-Only] Translation error (in centimeters).

Type

(float)

property valid_radius

[Read-Only] The radius (in centimeters) in which the confidence value is valid.

Type

(float)