unreal.ARPin
¶
-
class
unreal.
ARPin
(outer=None, name='None')¶ Bases:
unreal.Object
C++ Source:
Module: AugmentedReality
File: ARPin.h
Editor Properties: (see get_editor_property/set_editor_property)
on_ar_tracking_state_changed
(OnARTrackingStateChanged): [Read-Write] On ARTracking State Changedon_ar_transform_updated
(OnARTransformUpdated): [Read-Write] On ARTransform Updated
-
get_local_to_tracking_transform
() → Transform¶ Maps from a Pin’s Local Space to the Tracking Space. Mapping the origin from the Pin’s Local Space to Tracking Space yield the Pin’s position in Tracking Space.
- Returns
- Return type
-
get_local_to_world_transform
() → Transform¶ Convenience function. Same as LocalToTrackingTransform, but appends the TrackingToWorld Transform.
- Returns
- Return type
-
get_pinned_component
() → SceneComponent¶ - Returns
the PinnedComponent that this UARPin is pinning to the TrackedGeometry
- Return type
-
get_tracked_geometry
() → ARTrackedGeometry¶ The TrackedGeometry (if any) that this this pin is being “stuck” into.
- Returns
- Return type
-
get_tracking_state
() → ARTrackingState¶ Return the current tracking state of this Pin.
- Returns
- Return type
-
property
on_ar_tracking_state_changed
¶ [Read-Write] On ARTracking State Changed
- Type
-
property
on_ar_transform_updated
¶ [Read-Write] On ARTransform Updated
- Type