createPlacement

createPlacement

Method of Antilatency.Alt.Tracking.ILibrary
Decodes tracking placement pose from a Base64-encoded string. This is the inverse operation for ILibrary.encodePlacement method.
Math.floatP3Q createPlacement(​string code);

Parameters

string code
Base64-encoded string which represents the placement to be created. This string corresponds to the data parameter of the share placement URL that can be obtained from the AntilatencyService application

Return value

Math.floatP3Q
A tridimensional pose which can be passed to the ITrackingCotask.getExtrapolatedState method. This method may throw exception if the placement cannot be decoded.