OverviewSince 4.0
The mobi:augmentedReality component renders a button that launches the Bridgeit application on the user's device to display an overlay on a picture or video with virtual objects and markers.
Getting StartedTo start using the AugmentedReality component, place the mobi:augmentedReality tag in a form and specify the 'value' and 'urlBase' attributes; then, nest either an mobi:augmentedRealityLocations or mobi:augmentedRealityMarkers tag inside and bind it to a collection of property object representing locations or markers. <h:form> <mobi:augmentedReality urlBase="#{bean.baseURL}" value="#{bean.selection}"> <mobi:augmentedRealityLocations value="#{bean.messages}" var="place" locationLabel="#{place.title}" locationLat="#{place.latitude}" locationLon="#{place.longitude}" locationIcon="#{place.fileName}" /> </mobi:augmentedReality> </h:form> Attributes
The value attribute is where the selection from the user is stored, usually a location or marker. The buttonLabel specifies the label of the button before it is activated. The captureMessageLabel specifies the label to be displayed on the button when input has been captured. Event ListenersNone. Client Behavior EventsNone. JavaScript APINone. Keyboard SupportStandard keyboard actions for HTML buttons are supported, such as tabindex and pressing the enter or space keys to activate the button. Known IssuesThe following known issues exist for this component:
Additional ResourcesSample ApplicationsThis component appears in the following ICEfaces sample applications:
TutorialsThis component appears in the following ICEfaces tutorials: None |
AugmentedReality
© Copyright 2021 ICEsoft Technologies Canada Corp.