org.rajawali3d.renderer / ISurfaceRenderer / onOffsetsChanged

onOffsetsChanged

abstract fun onOffsetsChanged(xOffset: Float, yOffset: Float, xOffsetStep: Float, yOffsetStep: Float, xPixelOffset: Int, yPixelOffset: Int): Unit

NOTE: Only relevant when rendering a live wallpaper. Called to inform you of the wallpaper's offsets changing within its contain, corresponding to the container's call to WallpaperManager.setWallpaperOffsets().

Parameters

xOffset - Float:

yOffset - Float:

xOffsetStep - Float:

yOffsetStep - Float:

xPixelOffset - Int:

yPixelOffset - Int:

abstract fun onOffsetsChanged(xOffset: Float, yOffset: Float, xOffsetStep: Float, yOffsetStep: Float, xPixelOffset: Int, yPixelOffset: Int): Unit

NOTE: Only relevant when rendering a live wallpaper. Called to inform you of the wallpaper's offsets changing within its contain, corresponding to the container's call to WallpaperManager.setWallpaperOffsets().

Parameters

xOffset - Float:

yOffset - Float:

xOffsetStep - Float:

yOffsetStep - Float:

xPixelOffset - Int:

yPixelOffset - Int: