unreal.MagicLeapMeshBlockInfo

class unreal.MagicLeapMeshBlockInfo(block_id=[], block_position=[0.0, 0.0, 0.0], block_orientation=[0.0, 0.0, 0.0], block_dimensions=[0.0, 0.0, 0.0], timestamp=[0, 0, 0, 0, 0], block_state=MagicLeapMeshState.NEW)

Bases: unreal.StructBase

Representation of a mesh block.

C++ Source:

  • Plugin: MagicLeap

  • Module: MagicLeap

  • File: MeshTrackerTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • block_dimensions (Vector): [Read-Only] The size of the mesh block bounding box (in Unreal Units).

  • block_id (Guid): [Read-Only] The coordinate frame UID to represent the block.

  • block_orientation (Rotator): [Read-Only] The orientation of the mesh block bounding box.

  • block_position (Vector): [Read-Only] The center of the mesh block bounding box.

  • block_state (MagicLeapMeshState): [Read-Only] The state of the mesh block.

  • timestamp (Timespan): [Read-Only] The timestamp when block was updated.

property block_dimensions

[Read-Only] The size of the mesh block bounding box (in Unreal Units).

Type

(Vector)

property block_id

[Read-Only] The coordinate frame UID to represent the block.

Type

(Guid)

property block_orientation

[Read-Only] The orientation of the mesh block bounding box.

Type

(Rotator)

property block_position

[Read-Only] The center of the mesh block bounding box.

Type

(Vector)

property block_state

[Read-Only] The state of the mesh block.

Type

(MagicLeapMeshState)

property timestamp

[Read-Only] The timestamp when block was updated.

Type

(Timespan)