public class VehicleModelCaptureRequest extends GLModelCaptureRequest
GLModelCaptureRequest.Callback
Modifier and Type | Field and Description |
---|---|
protected boolean |
_failed |
protected VehicleModelInfo |
_vehicle |
_aabb, _callback, _crop, _height, _model, _modelInfo, _name, _outFile, _uid, _width, COMP_Z, modelMatrix, projectionMatrix
Constructor and Description |
---|
VehicleModelCaptureRequest(VehicleModelInfo vehicle) |
Modifier and Type | Method and Description |
---|---|
void |
onDraw(GLOffscreenCaptureParams params)
Draw content to the current canvas provided by the render service
|
void |
onFinished(android.graphics.Bitmap bmp)
The content is finished being drawn and converted to a bitmap
|
void |
onStart()
Called on the GL thread before any other calls are made
|
drawMesh, drawMeshes, getHeight, getWidth, setCallback, setLightingEnabled, setOutputFile, setOutputSize, setOutputSize, setStrokeColor, setStrokeColorContrast, setStrokeEnabled, setStrokeOnly, setStrokeWidth, setupCamera
protected final VehicleModelInfo _vehicle
protected boolean _failed
public VehicleModelCaptureRequest(VehicleModelInfo vehicle)
public void onStart()
GLOffscreenCaptureRequest
onStart
in interface GLOffscreenCaptureRequest
onStart
in class GLModelCaptureRequest
public void onDraw(GLOffscreenCaptureParams params)
GLOffscreenCaptureRequest
onDraw
in interface GLOffscreenCaptureRequest
onDraw
in class GLModelCaptureRequest
params
- Parameters used by capture servicepublic void onFinished(android.graphics.Bitmap bmp)
GLOffscreenCaptureRequest
onFinished
in interface GLOffscreenCaptureRequest
onFinished
in class GLModelCaptureRequest
bmp
- Bitmap output