You are not logged in.

1

Friday, September 26th 2014, 4:12pm

modificator this

Quoted


for(set(i,0), i LT scene.count, inc(i),
set(scene[get(i)].onstart,"showtext(get(title), style1);");
);
is existis in krpano somthing type modificator this?
in tag all scnes is attribute "title"
need after call loadscene show text from this "title" for specific scene

Quoted

showtext(get(title), style1);
how too in first parameter showtext to address to current scene and his title?

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

2

Friday, September 26th 2014, 4:26pm

To get current loaded scene you can use this
scene[get(xml.scene)]
xml.scene = current scene name/index


Regards
Andrey
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN