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, setupCameraprotected final VehicleModelInfo _vehicle
protected boolean _failed
public VehicleModelCaptureRequest(VehicleModelInfo vehicle)
public void onStart()
GLOffscreenCaptureRequestonStart in interface GLOffscreenCaptureRequestonStart in class GLModelCaptureRequestpublic void onDraw(GLOffscreenCaptureParams params)
GLOffscreenCaptureRequestonDraw in interface GLOffscreenCaptureRequestonDraw in class GLModelCaptureRequestparams - Parameters used by capture servicepublic void onFinished(android.graphics.Bitmap bmp)
GLOffscreenCaptureRequestonFinished in interface GLOffscreenCaptureRequestonFinished in class GLModelCaptureRequestbmp - Bitmap output