Skip to main content

Auki::ConjureKit::Grund::Grund

The Grund module implements an algorithm that attempts to synchronize the AR session height for Participants in a Session. More...

Inherits from ConjureKitModule

Public Functions

Name
Grund(IConjureKit conjureKit, Vikja.Vikja vikja, float maxMargin =0.1f)
Constructor - initializes and registers Grund as an AukiModule. Takes as argument an object implementing the IConjureKit interface, e.g., a ConjureKit instance, and a Vikja module instance.
override void_Init(Action onComplete, Action< string > onFailed)
voidSetActive(bool active)
Activate or deactivate module.
override void_Update()
(Internal) Game loop per-frame update.

Detailed Description

class Auki::ConjureKit::Grund::Grund;

The Grund module implements an algorithm that attempts to synchronize the AR session height for Participants in a Session.

The Grund module performs a continuous recalibration of the devices’ relative height offsets in the scene such as to keep the two tracked planes that are in the central field of view of the devices aligned in height, when these planes can be inferred to correspond to the same physical surface in the environment by their otherwise proximity.

Public Functions Documentation

function Grund

Grund(
IConjureKit conjureKit,
Vikja.Vikja vikja,
float maxMargin =0.1f
)

Constructor - initializes and registers Grund as an AukiModule. Takes as argument an object implementing the IConjureKit interface, e.g., a ConjureKit instance, and a Vikja module instance.

Parameters:

  • conjureKit IConjureKit-implementing object
  • vikja Vikja module instance
  • maxMargin maximum margin between participants plane to be considered as the same one (in Meters, default 0.1)

function _Init

override void _Init(
Action onComplete,
Action< string > onFailed
)

function SetActive

void SetActive(
bool active
)

Activate or deactivate module.

Parameters:

  • active true if module should be active, false to disable it

function _Update

override void _Update()

(Internal) Game loop per-frame update.