Scene.Render

Render(Camera, string)

Render the scene into external file from given camera’s perspective. The default output size is 1024x768 and output format is png

public void Render(Camera camera, string fileName)
ParameterTypeDescription
cameraCameraFrom which camera’s perspective to render the scene
fileNameStringThe file name of output file

See Also


Render(Camera, string, Vector2, string)

Render the scene into external file from given camera’s perspective.

public void Render(Camera camera, string fileName, Vector2 size, string format)
ParameterTypeDescription
cameraCameraFrom which camera’s perspective to render the scene
fileNameStringThe file name of output file
sizeVector2The size of final rendered image
formatStringThe image format of the output file

See Also


Render(Camera, string, Vector2, string, ImageRenderOptions)

Render the scene into external file from given camera’s perspective.

public void Render(Camera camera, string fileName, Vector2 size, string format, 
    ImageRenderOptions options)
ParameterTypeDescription
cameraCameraFrom which camera’s perspective to render the scene
fileNameStringThe file name of output file
sizeVector2The size of final rendered image
formatStringThe image format of the output file
optionsImageRenderOptionsThe option to customize some internal settings.

See Also


Render(Camera, TextureData)

Render the scene into bitmap from given camera’s perspective.

public void Render(Camera camera, TextureData bitmap)
ParameterTypeDescription
cameraCameraFrom which camera’s perspective to render the scene
bitmapTextureDataTarget of the rendered result

See Also


Render(Camera, TextureData, ImageRenderOptions)

Render the scene into bitmap from given camera’s perspective.

public void Render(Camera camera, TextureData bitmap, ImageRenderOptions options)
ParameterTypeDescription
cameraCameraFrom which camera’s perspective to render the scene
bitmapTextureDataTarget of the rendered result
optionsImageRenderOptionsThe option to customize some internal settings.

See Also