open3d.visualization.RenderOption

class open3d.visualization.RenderOption

Defines rendering options for visualizer.

__init__(self: open3d.pybind.visualization.RenderOption) → None

Default constructor

load_from_json(self, filename)

Function to load visualization.RenderOption from a JSON file.

Parameters

filename (str) – Path to file.

Returns

None

save_to_json(self, filename)

Function to save visualization.RenderOption to a JSON file.

Parameters

filename (str) – Path to file.

Returns

None

property background_color

Background RGB color.

Type

float numpy array of size (3,)

property light_on

Whether to turn on Phong lighting.

Type

bool

property line_width

Line width for LineSet.

Type

float

property mesh_color_option

MeshColorOption: Color option for TriangleMesh.

property mesh_shade_option

MeshShadeOption: Mesh shading option for TriangleMesh.

property mesh_show_back_face

Whether to show back faces for TriangleMesh.

Type

bool

property mesh_show_wireframe

Whether to show wireframe for TriangleMesh.

Type

bool

property point_color_option

PointColorOption: Point color option for PointCloud.

property point_show_normal

Whether to show normal for PointCloud.

Type

bool

property point_size

Point size for PointCloud.

Type

float

property show_coordinate_frame

Whether to show coordinate frame.

Type

bool