unreal.MeshBlockInfo

class unreal.MeshBlockInfo(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=MeshState.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 (MeshState): [Read-Only] The state of the mesh block.
  • timestamp (Timespan): [Read-Only] The timestamp when block was updated.
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

(MeshState) – [Read-Only] The state of the mesh block.

timestamp

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