computeScreenSpacePosition

Gets or sets the function for converting the world position of the object to the screen space position.

selectionIndicatorViewModel.computeScreenSpacePosition = function(position, result) {
return SceneTransforms.worldToWindowCoordinates(scene, position, result);
};

See also