diguyViewLightSettings

Generated from diguyViewLightSettings.h

DI-Guy API Version 12.5.1

This file was automatically generated from diguyViewLightSettings.h. Do not edit this file directly; the changes will be lost.
Includes: diguy_constants.h | declspec_diguy.h

Contents:

Alphabetical Index

Summary:

The diguyViewLightSettings class holds camera settings data that can be loaded into a diguyViewLight using the diguyViewLight::load_settings() call.

The settings of a diguyViewLightSettings object cannot be directly applied to a graphics environment viewpoint; the settings must be loaded into a diguyViewLight to be applied.

The diguyViewLightSettings API closely mirrors the diguyViewLight API, with the exception of load and callback functions.

class diguyViewLightSettings

class BDI_DECLSPEC_diguy diguyViewLightSettings
{
public:
    const char* get_name();
    const char* get_type_name();
    void set_direction(float x, float y, float z);
    void get_direction(float* x, float* y, float* z);
    void set_ambient_color(float r, float g, float b, float a);
    void get_ambient_color(float* r, float* g, float* b, float* a);
    void set_diffuse_color(float r, float g, float b, float a);
    void get_diffuse_color(float* r, float* g, float* b, float* a);
    void set_specular_color(float r, float g, float b, float a);
    void get_specular_color(float* r, float* g, float* b, float* a);

function diguyViewLightSettings::get_name

Prototype:

const char* get_name();
Description:

The diguyViewLightSettings equivalent of diguyViewLight::get_name().

function diguyViewLightSettings::get_type_name

Prototype:

const char* get_type_name();
Description:

The diguyViewLightSettings equivalent of diguyViewLight::get_type_name().

function diguyViewLightSettings::set_direction

Prototype:

void set_direction(float x, float y, float z);
Description:

The diguyViewLightSettings equivalent of diguyViewLight::set_direction().

function diguyViewLightSettings::get_direction

Prototype:

void get_direction(float* x, float* y, float* z);
Description:

The diguyViewLightSettings equivalent of diguyViewLight::get_direction().

function diguyViewLightSettings::set_ambient_color

Prototype:

void set_ambient_color(float r, float g, float b, float a);
Description:

The diguyViewLightSettings equivalent of diguyViewLight::set_ambient_color().

function diguyViewLightSettings::get_ambient_color

Prototype:

void get_ambient_color(float* r, float* g, float* b, float* a);
Description:

The diguyViewLightSettings equivalent of diguyViewLight::get_ambient_color().

function diguyViewLightSettings::set_diffuse_color

Prototype:

void set_diffuse_color(float r, float g, float b, float a);
Description:

The diguyViewLightSettings equivalent of diguyViewLight::set_diffuse_color().

function diguyViewLightSettings::get_diffuse_color

Prototype:

void get_diffuse_color(float* r, float* g, float* b, float* a);
Description:

The diguyViewLightSettings equivalent of diguyViewLight::get_diffuse_color().

function diguyViewLightSettings::set_specular_color

Prototype:

void set_specular_color(float r, float g, float b, float a);
Description:

The diguyViewLightSettings equivalent of diguyViewLight::set_specular_color().

function diguyViewLightSettings::get_specular_color

Prototype:

void get_specular_color(float* r, float* g, float* b, float* a);
Description:

The diguyViewLightSettings equivalent of diguyViewLight::get_specular_color().


Alphabetical Index




Copyright (C) 1992-2012 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/78 Fourth Avenue/Waltham MA 02451.