Exemple #1
0
        public X3DCamera(float fovy, float z_near, float z_far, float aperture, float shutter_speed, float iso, RustVector3 position) //, Quaternion rotation
        {
            library = nativeLibrary.ActivateInterface <IX3DNative>("EngineRenderer");

            db = library.x3d_new_camera(fovy, z_near, z_far, aperture, shutter_speed, iso, position); //, rotation
        }
Exemple #2
0
        public X3DCamera()
        {
            library = nativeLibrary.ActivateInterface <IX3DNative>("EngineRenderer");

            db = library.x3d_new_camera_default();
        }