From 72aa87758a6c7795dc488cda45ccbd37f71de9a7 Mon Sep 17 00:00:00 2001 From: Poommetee Ketson Date: Sat, 24 Mar 2018 00:57:58 +0700 Subject: Update classref and docs, fix missing parameters' name --- servers/arvr_server.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'servers/arvr_server.cpp') diff --git a/servers/arvr_server.cpp b/servers/arvr_server.cpp index f9d402fe7b..f48bedbdac 100644 --- a/servers/arvr_server.cpp +++ b/servers/arvr_server.cpp @@ -58,6 +58,8 @@ void ARVRServer::_bind_methods() { ClassDB::bind_method(D_METHOD("get_primary_interface"), &ARVRServer::get_primary_interface); ClassDB::bind_method(D_METHOD("set_primary_interface", "interface"), &ARVRServer::set_primary_interface); + ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "primary_interface"), "set_primary_interface", "get_primary_interface"); + ClassDB::bind_method(D_METHOD("get_last_process_usec"), &ARVRServer::get_last_process_usec); ClassDB::bind_method(D_METHOD("get_last_commit_usec"), &ARVRServer::get_last_commit_usec); ClassDB::bind_method(D_METHOD("get_last_frame_usec"), &ARVRServer::get_last_frame_usec); -- cgit v1.2.3