Unity 3D

Installation

You can find .unitypackage file at https://github.com/Realistic3D/real_api_unity/releases

Render

1. Add login class

  • Add class RealAPI to any active gameObject and add your login information.

using REAL;
using REAL.Networks;

[RequireComponent(typeof(RealAPI))]
public class RendererScene : MonoBehaviour
{
    public RealAPI real;

    private void Awake()
    {
        real = GetComponent<RealAPI>();
    }
}
Login
  1. Get Real API scene (binary scene)

You can render whole scene or even some GameObjects of your scene it depends upon your requirement

OR

Note:

  • camera is an Optional parameter in this function.

  • If you have multiple Camera in scene or list , the camera you want to render can be named as REAL_EYE or you can bypass directly to the function Real.RealScene(allObjects, camera)

  1. Create new job

  1. Upload scene

  1. Submit job

Final script

Last updated