API Question - isComplete

Q&A about the latest versions
Post Reply
PPotthoff
Posts: 14
Joined: Thu Feb 23, 2017 4:26 pm
Location: Dortmund, Germany

API Question - isComplete

Post by PPotthoff » Mon Feb 27, 2017 9:24 am

Hello,

i am using Object2VR.

I want to check via JS if my obj is complete. I already checked the API for this, but I always get the following error message: obj.isComplete() is not a function.

So, do I have the wrong API or is it just a documentation failure?

Thank you so far.

Cheerio,
Patrick

User avatar
thomas
Site Admin
Posts: 2489
Joined: Fri Sep 01, 2006 3:56 pm
Location: Vienna, Austria
Contact:

Re: API Question - isComplete

Post by thomas » Tue Feb 28, 2017 10:05 am

Hello Patrick,

at the moment this is not supported in Object2VR. You can check

Code: Select all

obj.getPercentLoaded()
if it hits 1.0 everything is loaded.
MfG, Thomas

PPotthoff
Posts: 14
Joined: Thu Feb 23, 2017 4:26 pm
Location: Dortmund, Germany

Re: API Question - isComplete

Post by PPotthoff » Tue Feb 28, 2017 12:07 pm

Hey Thomas,

this worked fine for me. Thank you very much! :)
I was just wondered why isCompleted do not work because i got it from the Documentation.

Anyway, thank you!

Cheerio,
Patrick

User avatar
thomas
Site Admin
Posts: 2489
Joined: Fri Sep 01, 2006 3:56 pm
Location: Vienna, Austria
Contact:

Re: API Question - isComplete

Post by thomas » Tue Mar 07, 2017 9:25 am

Hello Patrick,

this is an oversight on our end. The function exists in Flash but is missing the HTML5 player.
MfG, Thomas

PPotthoff
Posts: 14
Joined: Thu Feb 23, 2017 4:26 pm
Location: Dortmund, Germany

Re: API Question - isComplete

Post by PPotthoff » Tue Mar 07, 2017 5:07 pm

Hey Thomas,

okay, thank you. Topic closed! :)

Cheerio,
Patrick

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests