MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / get_model

Method get_model

platform/android/java_godot_io_wrapper.cpp:145–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145String GodotIOJavaWrapper::get_model() {
146 if (_get_model) {
147 JNIEnv *env = get_jni_env();
148 ERR_FAIL_NULL_V(env, String());
149 jstring s = (jstring)env->CallObjectMethod(godot_io_instance, _get_model);
150 return jstring_to_string(s, env);
151 } else {
152 return String();
153 }
154}
155
156int GodotIOJavaWrapper::get_screen_dpi() {
157 if (_get_screen_DPI) {

Callers 1

get_model_nameMethod · 0.80

Calls 3

get_jni_envFunction · 0.85
jstring_to_stringFunction · 0.85
StringClass · 0.50

Tested by

no test coverage detected