作成したAR 重畳表示定義は座標系オブジェクトといっしょにAR実行クライアントに設定してください。 ARマーカーを使用する場合はAR.Renderer.FJARMarkerCoordinateSystemオブジェクトを生成し、ARマーカーIDを設定してください。 位置情報を使用する場合はAR.Renderer. FJGeolocationCoordinateSystemを生成するなど、座標系に合わせて設定してください。
例
//座標系オブジェクトの作成 var coordinateSystem = new AR.Renderer.FJARMarkerCoordinateSystem(); //マーカーIDの設定 coordinateSystem.setValue(1); AR.Renderer.put(coordinateSystem, superimposedGraphic, onSuccess, onError);
//座標系オブジェクトの作成 var coordinateSystem = new AR.Renderer.FJGeolocationCoordinateSystem(); AR.Renderer.put(coordinateSystem, superimposedGraphic, onSuccess, onError);
//座標系オブジェクトの作成 var coordinateSystem = new AR.Renderer.FJBarcodeCoordinateSystem(); //バーコードIDの設定 coordinateSystem.setValue("http://www.example.com"); AR.Renderer.put(coordinateSystem, superimposedGraphic, onSuccess, onError);
//座標系オブジェクトの作成 var coordinateSystem = new AR.Renderer.FJBeaconCoordinateSystem(); //UUIDの設定(8-4-4-4-12) coordinateSystem.setValue("123e4567-e89b-12d3-a456-426655440000"); AR.Renderer.put(coordinateSystem, superimposedGraphic, onSuccess, onError);