toggle menu
SceneView
androidJvm
switch theme
search in API
sceneview
/
io.github.sceneview.texture
/
setBitmap
set
Bitmap
fun
Texture
.
setBitmap
(
engine
:
Engine
,
assets
:
AssetManager
,
fileLocation
:
String
,
type
:
TextureType
=
ImageTexture.DEFAULT_TYPE
,
@
IntRange
(
from
=
0
)
level
:
Int
=
0
)
fun
Texture
.
setBitmap
(
engine
:
Engine
,
context
:
Context
,
@
DrawableRes
drawableResId
:
Int
,
type
:
TextureType
=
ImageTexture.DEFAULT_TYPE
,
@
IntRange
(
from
=
0
)
level
:
Int
=
0
)
fun
Texture
.
setBitmap
(
engine
:
Engine
,
bitmap
:
Bitmap
,
@
IntRange
(
from
=
0
)
level
:
Int
=
0
)