open3d.visualization.RenderOption

class open3d.visualization.RenderOption

Defines rendering options for visulizer.

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

Default constructor

load_from_json(self: open3d.visualization.RenderOption, filename: str) → None

Function to load visualization::RenderOption from a JSON file.

save_to_json(self: open3d.visualization.RenderOption, filename: str) → None

Function to save visualization::RenderOption to a JSON file.

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

Color option for TriangleMesh.

Type

MeshColorOption

property mesh_shade_option

Mesh shading option for TriangleMesh.

Type

MeshShadeOption

property mesh_show_back_face

Whether to show back faces for TriangleMesh.

Type

bool

property point_color_option

Point color option for PointCloud.

Type

PointColorOption

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