
This file was automatically generated from comments in the C/C++ header file diguyViewFogSettings.h. Do not edit this file directly; the changes will be lost. Please mail suggestions or corrections to diguy@bdi.com
Includes: diguy_constants.h | declspec_diguy.h
class diguyViewFogSettings
|
class BDI_DECLSPEC_diguy diguyViewFogSettings { public: const char* get_name(); const char* get_type_name(); void set_density(float density); float get_density(); void set_start(float start); float get_start(); void set_end(float end); float get_end(); void set_color(float r, float g, float b, float a); void get_color(float* r, float* g, float* b, float* a); void set_fog_mode(int mode); int get_fog_mode(); bdiFog* get_scripted_object() {return m_fog;} };
function diguyViewFogSettings::get_name |
Prototype:
Description:const char* get_name();
Returns the name of the object. This pointer will never be NULL.C++, Perl
Returns:
name of the object
function diguyViewFogSettings::get_type_name |
Prototype:
Description:const char* get_type_name();
Returns the type name of the object. This pointer will never be NULL.Returns:
type name of the objectCallable From:
- C++
- Script
function diguyViewFogSettings::set_density |
Prototype:
Description:void set_density(float density);
This sets the density of the fog.Arguments:
C++, Perl
density distance of this fog; higher causes more opaque fog
function diguyViewFogSettings::get_density |
Prototype:
Returns:float get_density();
density of fogC++, Perl
function diguyViewFogSettings::set_start |
Prototype:
Description:void set_start(float start);
This sets the distance at which fog begins to affect the scene. Colors of objects before this distance will not be affected. Colors of objects after this distance will start to be modulated toward to fog color.Arguments:
C++, Perl
start distance to where fog starts, in meters
function diguyViewFogSettings::get_start |
Prototype:
Returns:float get_start();
distance to where fog starts, in meters; see set_start()C++, Perl
function diguyViewFogSettings::set_end |
Prototype:
Description:void set_end(float end);
This sets the distance at which the fog completely overrides the colors of objects in the scene.Arguments:
C++, Perl
end distance to where fog ends, in meters
function diguyViewFogSettings::get_end |
Prototype:
Returns:float get_end();
distance to where fog ends, in meters; see set_end()C++, Perl
function diguyViewFogSettings::set_color |
Prototype:
Description:void set_color(float r, float g, float b, float a);
This function sets the color this fog.Arguments:
C++, Perl
r red component g blue component b green component a alpha component
function diguyViewFogSettings::get_color |
Prototype:
Arguments:void get_color(float* r, float* g, float* b, float* a);
C++, Perl
r red component g blue component b green component a alpha component
function diguyViewFogSettings::set_fog_mode |
Prototype:
void set_fog_mode(int mode);
function diguyViewFogSettings::get_fog_mode |
Prototype:
int get_fog_mode();
function diguyViewFogSettings::get_scripted_object |
Prototype:
bdiFog* get_scripted_object();
Boston Dynamics
ALL RIGHTS RESERVED.
These coded instructions, statements, and computer programs contain unpublished proprietary information of Boston Dynamics and are protected by Copyright Laws of the United States. They may not be used, duplicated, or disclosed in any form, in whole or in part, without the prior written consent from Boston Dynamics.
RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the government is subject to restrictions as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Sofware clause at DFARS 252.227-7013 and/or in similar or successor clauses in the FAR, or the DOD or NASA FAR Supplement, or to subparagraphs (c)(1) and (c)(2) of the Commercial Computer Software--Restricted Rights at 48 CFR 52.227-19, as applicable. Unpublished-rights reserved under the Copyright Laws of the United States.
Contractor/Manufacturer is:
Boston Dynamics/515 Massachusetts Avenue/Cambridge MA 02139.