scene.create_text method

create_text(self, pos: Vector3, text: str) -> TextItem:

Creates a TextItem in this Scene.

Parameters

  • pos: Vector3

    position in world space.

  • text: str

    label to display.

Returns

created TextItem.