Skip to main content
Ctrl
+
K
Site Navigation
Getting started
User guide
API reference
Examples
Contribute
GitHub
Navigation
PyEnSight
»
API reference
»
Native API reference
»
lightsource
»
rgb
Site Navigation
Getting started
User guide
API reference
Examples
Contribute
GitHub
Section Navigation
Native API reference
ansys.api.pyensight.ensight_api
anim
anim_flipbook
anim_keyframe
anim_quick
anim_recorders
anim_screens
anim_traces
annot_backgr
annot_entlbl
annotation
arrow
auxgeom
boundarylayer
case
clip
collab
command
connect
context_restore
contour
curve
data
data_partbuild
define
devsrf
dial
dpart
elevsurf
ensight
enums
extrude
file
filterpart
format
frame
function
gauge
help
isos
legend
lightsource
active
casts_shadows
centroid
direction_intersect
direction_lock
direction_normal
environment_map_name
get_quad_fromplanetool
glyph_size
intensity
location
modify_begin
modify_end
quad_size
quad_xdir
reset_envmap_rotation
reset_envmap_translation
rgb
rotate_envmap_x
rotate_envmap_y
rotate_envmap_z
select_all
select_begin
set_lights_bypreset
set_planetool_fromquad
spot_angle
spot_falloff
transform_with_model
translate_envmap_originx
translate_envmap_originy
translate_envmap_originz
type
visible
line
logo
material
message_window
model
nplot
nvc
objs
part
plot
pointpart
prefs
profile
ptrace
ptrace_emitr
query_ent_var
query_interact
savegeom
scene
sepattach
set_tdata
set_visenv
shape
shell
shock
show_info
solution_time
species
subset
tensor
text
texture
tools
user
varextcfd
variables
vctarrow
view
view_transf
viewport
viewport_axis
viewport_bounds
views
vof
vortexcore
Object API reference
Calculator functions
REST API
EnsContext
LocalLauncher
DockerLauncher
Renderable
Session
Export
Parts
Query
Support
Views
Variables
Omniverse
Readers
DVS
rgb
#
lightsource.
rgb
(
p0
:
float
,
p1
:
float
,
p2
:
float
)
→
int
#
Lightsource: rgb
On this page
lightsource.rgb()
Show Source