Focus to certain elements.
Signature:
focusElementsInViewport(viewportIdx: number, elementNames: string[], changeCamera: boolean, showLine: boolean): void;
Parameter | Description |
---|---|
viewportIdx | The index of the viewport. |
elementNames | An array of element names. |
changeCamera | If set to true, the camera will change to a close-up view. |
showLine | If render the focused elements profile lines. |
Returns:
void