unreal.AppleARKitHitTestResult

class unreal.AppleARKitHitTestResult(type=AppleARKitHitTestResultType.NONE, distance=0.0, transform=[[0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [1.0, 1.0, 1.0]])

Bases: unreal.StructBase

A result of an intersection found during a hit-test.

C++ Source:

  • Plugin: AppleARKit
  • Module: AppleARKit
  • File: AppleARKitHitTestResult.h

Editor Properties: (see get_editor_property/set_editor_property)

  • distance (float): [Read-Write] The distance from the camera to the intersection in meters.
  • transform (Transform): [Read-Write] The transformation matrix that defines the intersection’s rotation, translation and scale relative to the world.
  • type (AppleARKitHitTestResultType): [Read-Write] The type of the hit-test result.
distance

(float) – [Read-Only] The distance from the camera to the intersection in meters.

transform

(Transform) – [Read-Only] The transformation matrix that defines the intersection’s rotation, translation and scale relative to the world.

type

(AppleARKitHitTestResultType) – [Read-Only] The type of the hit-test result.