customizeDefPositionTracker static method
- List<
int> buffer, - SceneObjectFileFormat format
Customize default SDK position tracking object.
To apply a flat texture to the position tracking object, provide only data in the SceneObjectFileFormat.tex format as input.
Parameters
- IN buffer The object data. Provide empty list to load default SDK resource
- IN format The format of the object data
Returns
- The error code
Implementation
static GemError customizeDefPositionTracker(
final List<int> buffer,
final SceneObjectFileFormat format,
) {
final OperationResult resultString = objectMethod(
0,
'MapSceneObject',
'customizeDefPositionTracker',
args: <String, Object>{'buffer': buffer, 'format': format.id},
);
final int gemApiError = resultString['gemApiError'];
return GemErrorExtension.fromCode(gemApiError);
}