| ARWorldOriginHelperSetWorldOrigin Method |
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.
Namespace:
ASL
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public void SetWorldOrigin(
Transform anchorTransform
)
Public Sub SetWorldOrigin (
anchorTransform As Transform
)
public:
void SetWorldOrigin(
Transform^ anchorTransform
)
member SetWorldOrigin :
anchorTransform : Transform -> unit
Parameters
- anchorTransform
- Type: Transform
Transform of the Cloud Anchor.
See Also