- 
                Notifications
    You must be signed in to change notification settings 
- Fork 35
Cameras
        ChiefOfGxBxL edited this page Jun 2, 2018 
        ·
        5 revisions
      
    Translator.Cameras
var result = new Translator.Cameras.jsonToWar(cameraData);
// Now you can write result.buffer to a war3map.w3c filecameraData: [<Camera>]; // Array of camerasWhere <Camera> is a camera structure defined by:
{
  name: <String>,
  target: {
    x: <Float>,
    y: <Float>
  },
  offsetZ: <Float>, // i.e. height
  rotation: <Float = 0>, // in degrees
  aoa: <Float>, // angle of attack, in degrees
  distance: <Float>,
  roll: <Float = 0>,
  fov: <Float>, // field of view, in degrees
  farClipping: <Float>
}Made with ❤️ for ⚔️ WarCraft III
Need help: Check the Wiki
Found bug: Create an issue