Methods
# setDrawCall(dataopt)
Adds a draw call to the pawn. The draw call will have its transform automatically updated when the pawn moves.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
data |
DrawCall |
<optional> |
A webGL renderer draw call. |