app/src/main/java/fi/finwe/orion360/sdk/pro/examples/input/Touch.java
protected SelectablePointerIcon createHotSpot(float yawDeg, float pitchDeg, float rollDeg) {

        // Create a new hotspot as a selectable pointer icon widget.
        SelectablePointerIcon hotspot = new SelectablePointerIcon();

        // Set the location of the hotspot using Euler angles.
        hotspot.setLocationPolarZXYDeg(yawDeg, pitchDeg, rollDeg, HOTSPOT_LAYER_RADIUS);

        // Set the size of the hotspot as a scale factor relative to image asset size.
        hotspot.setScale(HOTSPOT_SCALE_FACTOR, HOTSPOT_SCALE_FACTOR);

        // Set the icon for the hotspot as a PNG image. */
        hotspot.getIcon().bindTexture(OrionTexture.createTextureFromURI(this,
                getString(R.string.asset_hotspot_start)));

        // Adjust hotspot icon's alpha value to make it a little bit transparent.
        hotspot.getIcon().setAmpAlpha(0.90f);

        // Bind to scene to make it part of the 3D world.
        mScene.bindWidget(hotspot);

        return hotspot;
    }
/**
     * Creates a hotspot at the direction given as Euler angles.
     *
     * @param yawDeg The yaw angle in degrees.
     * @param pitchDeg The pitch angle in degrees.
     * @param rollDeg The roll angle in degrees.
     */
Creates a hotspot at the direction given as Euler angles.
@param yawDeg The yaw angle in degrees.
@param pitchDeg The pitch angle in degrees.
@param rollDeg The roll angle in degrees.
Creates a hotspot at the direction given as Euler angles . @param yawDeg The yaw angle in degrees . @param pitchDeg The pitch angle in degrees . @param rollDeg The roll angle in degrees .
protected SelectablePointerIcon createHotSpot(float yawDeg, float pitchDeg, float rollDeg) {
        SelectablePointerIcon hotspot = new SelectablePointerIcon();
        hotspot.setLocationPolarZXYDeg(yawDeg, pitchDeg, rollDeg, HOTSPOT_LAYER_RADIUS);
        hotspot.setScale(HOTSPOT_SCALE_FACTOR, HOTSPOT_SCALE_FACTOR);
        hotspot.getIcon().bindTexture(OrionTexture.createTextureFromURI(this,
                getString(R.string.asset_hotspot_start)));
        hotspot.getIcon().setAmpAlpha(0.90f);
        mScene.bindWidget(hotspot);
        return hotspot;
    }
protected SelectablePointerIcon createHotSpot ( float yawDeg , float pitchDeg , float rollDeg ) { SelectablePointerIcon hotspot = new SelectablePointerIcon ( ) ; hotspot . setLocationPolarZXYDeg ( yawDeg , pitchDeg , rollDeg , HOTSPOT_LAYER_RADIUS ) ; hotspot . setScale ( HOTSPOT_SCALE_FACTOR , HOTSPOT_SCALE_FACTOR ) ; hotspot . getIcon ( ) . bindTexture ( OrionTexture . createTextureFromURI ( this , getString ( R . string . asset_hotspot_start ) ) ) ; hotspot . getIcon ( ) . setAmpAlpha ( 0.90f ) ; mScene . bindWidget ( hotspot ) ; return hotspot ; }
Creates a hotspot at the direction given as Euler angles.
Creates a hotspot at the direction given as Euler angles .
// Create a new hotspot as a selectable pointer icon widget. // Set the location of the hotspot using Euler angles. // Set the size of the hotspot as a scale factor relative to image asset size. // Set the icon for the hotspot as a PNG image. */ // Adjust hotspot icon's alpha value to make it a little bit transparent. // Bind to scene to make it part of the 3D world.