ARWorldOriginHelper Class |
Namespace: ASL
The ARWorldOriginHelper type exposes the following members.
Name | Description | |
---|---|---|
ARWorldOriginHelper | Initializes a new instance of the ARWorldOriginHelper class |
Name | Description | |
---|---|---|
_WorldToAnchorPose |
Converts a pose from Unity world space to Anchor-relative space.
| |
Awake |
Called when class first initialized
| |
GetInstance |
SIngleton for this class
| |
Raycast |
Helper function to perform an AR Raycast for the user - by default uses TrackableType.PlaneWithinPolygon which is the most common
| |
SetWorldOrigin |
Sets the apparent world origin of ARCore through applying an offset to the ARCoreDevice
(and therefore also it's FirstPersonCamera child), so that the Origin of Unity's World
Coordinate System coincides with the Anchor. This function needs to be called once the
Cloud Anchor is either hosted or resolved.
| |
Start |
Assigns each script manually
|
Name | Description | |
---|---|---|
ARCoreDeviceTransform |
The transform of the ARCore Device.
| |
m_AnchorTransform |
The Transform of the Anchor object representing the World Origin.
| |
m_Instance | ||
m_IsOriginPlaced |
Indicates whether the Origin of the new World Coordinate System, i.e. the Cloud Anchor,
was placed.
|