Documentation

GameRender

Called every frame (please ask Alex for more details please, we'll appreciate it a lot)

Parameter

Name Type Description
scriptingRenderer Renderer The active renderer object

Example

jcmp.events.Add('GameRender', scriptingRenderer => {
  // Draw an opaque 3d rectangle
  scriptingRenderer.DrawRect(new Vector3f(0, 0, 100), new Vector2f(300, 300), new RGBA(255, 255, 0, 255));
});

Stay informed

By becoming the newest member of our growing forums, we and hundreds of other players will always keep you up to date on everything JC3:MP related.