captureEntity
captureEntity(
entity,options):string|undefined
A PNG data URL of the scene framed on the entity, or undefined where it has no object to frame. One render from a copy of the camera; the next frame draws the player’s view again.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity |
options |
CaptureOptions |
Returns
Section titled “Returns”string | undefined