발행일 : 03/10/2025

Draw Text

As shown in the “Hello World” example, text is added to a scene using the Text function.

Text( horz, vert, size, string, <billboard>)

horz can be Left, Center, or Right justification.

vert can be Top, Middle, Baseline, or Bottom justification.

size represents the height of a capital letter M in model coordinates.

string is the text to draw.

billboard is an optional argument that causes the text to rotate with the model. Text with this option always faces the viewer.

The font is always the JMP Text font. You can change the text font from the preferences menu, but because of the way JMP caches fonts for scenes, changes might not take effect until JMP is restarted.

Note: Text is not part of the standard OpenGL definition.

더 많은 정보를 원하십니까? 질문이 있습니까? JMP 사용자 커뮤니티에서 답변 받기 (community.jmp.com).