Open3D (C++ API)  0.18.0+252c867
Public Types | Data Fields
open3d::visualization::rendering::Light Struct Reference

#include <Light.h>

Public Types

enum  eLightType { POINT , SPOT , DIRECTIONAL }
 

Data Fields

Eigen::Vector3f color = Eigen::Vector3f(1.f, 1.f, 1.f)
 
Eigen::Vector3f position = Eigen::Vector3f(0.f, 0.f, 0.f)
 
eLightType type = POINT
 
float intensity = 10000.f
 
float falloff = 10.f
 
bool cast_shadows = false
 
Eigen::Vector3f direction = Eigen::Vector3f(0.f, 0.f, -1.f)
 
float light_cone_inner = float(M_PI / 4.0)
 
float light_cone_outer = float(M_PI / 2.0)
 

Member Enumeration Documentation

◆ eLightType

Enumerator
POINT 
SPOT 
DIRECTIONAL 

Field Documentation

◆ cast_shadows

bool open3d::visualization::rendering::Light::cast_shadows = false

◆ color

Eigen::Vector3f open3d::visualization::rendering::Light::color = Eigen::Vector3f(1.f, 1.f, 1.f)

◆ direction

Eigen::Vector3f open3d::visualization::rendering::Light::direction = Eigen::Vector3f(0.f, 0.f, -1.f)

◆ falloff

float open3d::visualization::rendering::Light::falloff = 10.f

◆ intensity

float open3d::visualization::rendering::Light::intensity = 10000.f

◆ light_cone_inner

float open3d::visualization::rendering::Light::light_cone_inner = float(M_PI / 4.0)

◆ light_cone_outer

float open3d::visualization::rendering::Light::light_cone_outer = float(M_PI / 2.0)

◆ position

Eigen::Vector3f open3d::visualization::rendering::Light::position = Eigen::Vector3f(0.f, 0.f, 0.f)

◆ type

eLightType open3d::visualization::rendering::Light::type = POINT

The documentation for this struct was generated from the following file: