Unity 3D
Installation
You can find .unitypackage file at https://github.com/Realistic3D/real_api_unity/releases
Render
1. Add login class
Add class
RealAPIto any activegameObjectand 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>();
}
}
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:
camerais an Optional parameter in this function.If you have multiple
Camerain scene or list , the camera you want to render can be named asREAL_EYEor you can bypass directly to the functionReal.RealScene(allObjects, camera)
Create new job
Upload scene
Submit job
Final script
Last updated