Class RenderOptionsOutput

    • Constructor Detail

      • RenderOptionsOutput

        public RenderOptionsOutput()
        Create an empty object.
      • RenderOptionsOutput

        public RenderOptionsOutput​(org.json.JSONObject jsonOptions)
        Create from a JSON object by picking relevant parameters.
        Parameters:
        jsonOptions - json options which can contain input runtime parameters
    • Method Detail

      • completeRenderOptionsOutput

        public void completeRenderOptionsOutput​(org.json.JSONObject jsonOptions)
        Completes existing object by picking additionnal output parameters.
        Parameters:
        jsonOptions - json options which can contain output parameters
      • toJsonObj

        public org.json.JSONObject toJsonObj()
        Serializes the object to a JSON object.
        Overrides:
        toJsonObj in class RenderOptionsInput
        Returns:
        JSONObject the object as a JSON String
      • setRandomSeed

        public RenderOptionsOutput setRandomSeed​(int randomSeed)
        sets random seed param.
        Parameters:
        randomSeed - the random seed
        Returns:
        this to set further options
      • getRandomSeed

        public int getRandomSeed()
        gets the random seed.
        Returns:
        this to set further options