MaxstAR Native Android  5.0.2
List of all members | Static Public Member Functions
com.maxst.ar.MaxstARUtil Class Reference

Description

MaxstARUtil class provides utilities needed to use MAXST AR SDK.

Static Public Member Functions

static Bitmap getBitmapFromAsset (String fileName, AssetManager assets)
 Get the bitmap data from an image asset. More...
 

Member Function Documentation

◆ getBitmapFromAsset()

static Bitmap com.maxst.ar.MaxstARUtil.getBitmapFromAsset ( String  fileName,
AssetManager  assets 
)
static

Get the bitmap data from an image asset.

Called when a texture is created.

Parameters
fileNamefilename of image
assetsScreen orientation. 1 is Configuration.ORIENTATION_PORTRAIT, 2 is Configuration.ORIENTATION_LANDSCAPE