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 }
public X3DCamera() { library = nativeLibrary.ActivateInterface <IX3DNative>("EngineRenderer"); db = library.x3d_new_camera_default(); }