drawMarker

fun drawMarker(materialLoader: MaterialLoader, position: Float3 = DEFAULT_MARKER_POSITION): Node

This function is used to draw a marker in the scene using the SceneView library and the Filament engine

Return

an ImageNode representing the marker

Parameters

materialLoader

: the material loader used to load the material of the marker

position

: the position of the marker

Throws

if the size of the wall is not valid

if the material loader is null