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

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
Chief Gnome
Posts: 2611
Joined: Fri Sep 01, 2006 3:56 pm
Location: Vienna, Austria
Contact:

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

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
Chief Gnome
Posts: 2611
Joined: Fri Sep 01, 2006 3:56 pm
Location: Vienna, Austria
Contact:

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

Hey Thomas,

okay, thank you. Topic closed! :)

Cheerio,
Patrick
Post Reply