open3d.visualization.RenderOption#
- class open3d.visualization.RenderOption#
Defines rendering options for visualizer.
- __init__(self: open3d.cpu.pybind.visualization.RenderOption) None #
Default constructor
- load_from_json(self, filename)#
Function to load RenderOption from a JSON file.
- Parameters:
filename (os.PathLike) – Path to file.
- Returns:
None
- save_to_json(self, filename)#
Function to save RenderOption to a JSON file.
- Parameters:
filename (os.PathLike) – 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#
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 mesh_show_wireframe#
Whether to show wireframe 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